[gedit] Replace dialog: more documentation



commit 09194f35ef81e7de9f1b998d9ed6a80f4bfd1597
Author: Sébastien Wilmet <swilmet gnome org>
Date:   Tue Sep 17 21:28:03 2013 +0200

    Replace dialog: more documentation

 gedit/gedit-replace-dialog.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/gedit/gedit-replace-dialog.c b/gedit/gedit-replace-dialog.c
index 0d71c9b..25238e8 100644
--- a/gedit/gedit-replace-dialog.c
+++ b/gedit/gedit-replace-dialog.c
@@ -96,6 +96,11 @@ get_search_context (GeditReplaceDialog *dialog,
  * the SearchContext is created, it's better to be consistent, and therefore we
  * don't want the incremental search: we have to always press a button to
  * execute the search.
+ *
+ * Likewise, each created SearchContext (from the GeditReplaceDialog) contains a
+ * different SearchSettings. When set_search_settings() is called for one
+ * document tab (and thus one SearchSettings), it doesn't have an effect on the
+ * other tabs. But the dialog widgets don't change.
  */
 static void
 set_search_settings (GeditReplaceDialog *dialog)


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