[gtksourceview] docs: note about the default undo/redo implementation



commit 896f6ba8c48c255aa66a2e6c5de15143009f532c
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Sat Nov 22 21:19:49 2014 +0100

    docs: note about the default undo/redo implementation

 gtksourceview/gtksourceundomanager.c |   10 ++++++----
 1 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/gtksourceview/gtksourceundomanager.c b/gtksourceview/gtksourceundomanager.c
index 140fe00..78fc5d9 100644
--- a/gtksourceview/gtksourceundomanager.c
+++ b/gtksourceview/gtksourceundomanager.c
@@ -38,10 +38,12 @@
  * @title: GtkSourceUndoManager
  * @see_also: #GtkTextBuffer, #GtkSourceView
  *
- * The #GtkSourceUndoManager interface can be implemented to provide custom
- * undo management to a #GtkSourceBuffer. Use
- * gtk_source_buffer_set_undo_manager() to install a custom undo manager for
- * a particular source buffer.
+ * For most uses it isn't needed to use #GtkSourceUndoManager. #GtkSourceBuffer
+ * already provides an API and a default implementation for the undo/redo.
+ *
+ * For specific needs, the #GtkSourceUndoManager interface can be implemented to
+ * provide custom undo management. Use gtk_source_buffer_set_undo_manager() to
+ * install a custom undo manager for a particular #GtkSourceBuffer.
  *
  * Use gtk_source_undo_manager_can_undo_changed() and
  * gtk_source_undo_manager_can_redo_changed() when respectively the undo state


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]