gtk2/docs/reference/gtk
Christian Hergert 15b3c0f563 textview: add undo/redo support to GtkTextView
This builds upon the GtkTextHistory helper to provide undo and redo support
for the GtkTextView widget and GtkTextBuffer object.

You can undo/redo using familiar shortcuts such as Primary+Z,
Primary+Shift+Z, ad Primary+Y.

Developers that wish to disable undo, should set the
GtkTextBuffer:enable-undo property to FALSE.

You can wrap irreversible actions
gtk_text_buffer_begin_irreversible_action() and
gtk_text_buffer_end_irreversible_action(). This will cause the undo stack
to drop all undo/redo actions and the changes made between them will be
the "initial state" of the buffer.

Calling gtk_text_buffer_set_text() will do this automatically for you.
2019-11-05 09:34:29 -08:00
..
images docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
actions.xml Docs: expand actions chapter 2019-06-18 14:50:24 -04:00
broadway.xml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
building.sgml meson: Rename documentation option to gtk_doc 2019-07-01 20:16:37 -04:00
compiling.sgml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
css-overview.xml Remove win32 themeing support 2019-03-22 22:30:01 +01:00
css-properties.xml Remove win32 themeing support 2019-03-22 22:30:01 +01:00
drawing-model.xml docs: Some additions to the overview 2019-05-04 01:26:45 +00:00
getting_started.xml.in entry, spin button: Drop redundant API 2019-02-28 16:34:00 -05:00
glossary.xml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
gtk4-broadwayd.xml docs: Remove mention of passwords from broadwayd(1) 2019-04-01 00:11:31 -04:00
gtk4-builder-tool.xml Document --3to4 2019-02-08 00:09:44 -05:00
gtk4-demo-application.xml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
gtk4-demo.xml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
gtk4-docs.xml gtk: Add GtkNoSelection 2019-10-15 07:17:07 +02:00
gtk4-encode-symbolic-svg.xml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
gtk4-icon-browser.xml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
gtk4-launch.xml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
gtk4-overrides.txt build: Generate the API references (WIP) 2017-05-03 15:10:57 +01:00
gtk4-query-settings.xml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
gtk4-sections.txt textview: add undo/redo support to GtkTextView 2019-11-05 09:34:29 -08:00
gtk4-update-icon-cache.xml Minor typos in the Documentation (a/an) 2019-08-25 12:52:46 +00:00
gtk4-widget-factory.xml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
gtk4.types.in docs: Add GtkNative to types 2019-09-24 11:38:35 -04:00
input-handling.xml Drop gtk_widget_register_surface 2019-05-28 20:25:14 +00:00
meson.build Merge branch 'wip/ebassi/constraint-layout' into 'master' 2019-07-02 14:01:01 +00:00
migrating-2to4.xml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
migrating-3to4.xml docs: Fix build 2019-05-30 18:26:32 +02:00
osx.sgml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
other_software.sgml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
overview.xml overview.xml: The GTK library does not depend on the GTK library 2019-07-27 11:59:45 +00:00
question_index.sgml docs: Refresh the "Q & A" part 2019-02-23 16:08:05 -05:00
resources.sgml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
running.sgml Add docs 2019-05-07 09:37:59 -07:00
text_widget.sgml textview: add undo/redo support to GtkTextView 2019-11-05 09:34:29 -08:00
tree_widget.sgml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
version.xml.in
visual_index.xml toolpalette: Remove 2018-02-03 11:52:37 +01:00
wayland.xml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
windows.sgml docs: Drop the '+' from GTK 2019-02-05 10:14:31 +01:00
x11.sgml gdk/x11: Drop GDK_CORE_DEVICE_EVENTS environment variable 2019-05-15 01:05:20 +02:00