PSPPIRE: Add feature to search for text in the syntax window.
[pspp] / src / ui / gui / psppire-syntax-window.h
index 3c6cd1e1194fe83652392c4c9074e7cc20dae14a..43dd1b914b4391aaaa2489fa18b919e2cf40d22a 100644 (file)
@@ -1,5 +1,5 @@
 /* PSPPIRE - a graphical user interface for PSPP.
-   Copyright (C) 2008, 2010, 2011  Free Software Foundation
+   Copyright (C) 2008, 2010, 2011, 2016  Free Software Foundation
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 #include <gtk/gtk.h>
 #include "psppire-window.h"
 
-#include <gtksourceview/gtksourcelanguage.h>
-#include <gtksourceview/gtksourcelanguagemanager.h>
-#include <gtksourceview/gtksourcebuffer.h>
-#include <gtksourceview/gtksourceprintcompositor.h>
+#include <gtksourceview/gtksource.h>
 
 G_BEGIN_DECLS
 
@@ -67,6 +64,9 @@ struct _PsppireSyntaxWindow
   GSimpleAction *edit_copy;
   GSimpleAction *edit_delete;
   GSimpleAction *edit_paste;
+  GSimpleAction *edit_find;
+
+  GtkEntryBuffer *search_text_buffer;
 
   gulong ps_handler;
   gulong sel_handler;
@@ -86,7 +86,7 @@ GType      psppire_syntax_window_get_type        (void);
 GtkWidget* psppire_syntax_window_new             (const char *encoding);
 
 void create_syntax_window (void);
-void open_syntax_window (const char *file_name, const char *encoding);
+GtkWindow * open_syntax_window (const char *file_name, const char *encoding);
 
 G_END_DECLS