~sachinr/xpad/xpad-tray-config

« back to all changes in this revision

Viewing changes to src/xpad-text-buffer.h

  • Committer: sr
  • Date: 2011-11-11 14:12:07 UTC
  • Revision ID: sr@debian-20111111141207-mfknapk85tsmzfje
Undo/Redo works for formatting not only for insertion/deleting text

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
#define __XPAD_TEXT_BUFFER_H__
21
21
 
22
22
#include <gtk/gtk.h>
 
23
#include "xpad-pad.h"
23
24
 
24
25
G_BEGIN_DECLS
25
26
 
56
57
 
57
58
void xpad_text_buffer_insert_text (XpadTextBuffer *buffer, gint pos, const gchar *text, gint len);
58
59
void xpad_text_buffer_delete_range (XpadTextBuffer *buffer, gint start, gint end);
 
60
void xpad_text_buffer_toggle_tag (XpadTextBuffer *buffer, const gchar *name, XpadPad *pad);
59
61
 
60
62
void xpad_text_buffer_undo (XpadTextBuffer *buffer);
61
63
void xpad_text_buffer_redo (XpadTextBuffer *buffer);