PSPPIRE: Add feature to search for text in the syntax window.
[pspp] / src / ui / gui / psppire-syntax-window.h
index ce4beac203488b04625af52088d9bbaef0242064..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;