projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Introduce Arg class.
[pspp]
/
src
/
ui
/
gui
/
psppire-syntax-window.h
diff --git
a/src/ui/gui/psppire-syntax-window.h
b/src/ui/gui/psppire-syntax-window.h
index cb125028c94181b4c94ac229d60d42a90f82d4ad..161b374597998e861e1421f7f290bd3ec256e5d3 100644
(file)
--- a/
src/ui/gui/psppire-syntax-window.h
+++ b/
src/ui/gui/psppire-syntax-window.h
@@
-25,6
+25,8
@@
#include <gtksourceview/gtksource.h>
#include <gtksourceview/gtksource.h>
+#include "language/lexer/lexer.h"
+
G_BEGIN_DECLS
#define PSPPIRE_SYNTAX_WINDOW_TYPE (psppire_syntax_window_get_type ())
G_BEGIN_DECLS
#define PSPPIRE_SYNTAX_WINDOW_TYPE (psppire_syntax_window_get_type ())
@@
-48,10
+50,10
@@
struct _PsppireSyntaxWindow
/* <private> */
GtkSourceBuffer *buffer; /* The buffer which contains the text */
/* <private> */
GtkSourceBuffer *buffer; /* The buffer which contains the text */
- struct lexer *lexer; /* Lexer to parse syntax */
gchar *encoding; /* File's encoding. */
GtkWidget *sb;
guint text_context;
gchar *encoding; /* File's encoding. */
GtkWidget *sb;
guint text_context;
+ enum segmenter_mode syntax_mode;
GtkPrintSettings *print_settings;
GtkSourcePrintCompositor *compositor;
GtkPrintSettings *print_settings;
GtkSourcePrintCompositor *compositor;
@@
-64,6
+66,9
@@
struct _PsppireSyntaxWindow
GSimpleAction *edit_copy;
GSimpleAction *edit_delete;
GSimpleAction *edit_paste;
GSimpleAction *edit_copy;
GSimpleAction *edit_delete;
GSimpleAction *edit_paste;
+ GSimpleAction *edit_find;
+
+ GtkEntryBuffer *search_text_buffer;
gulong ps_handler;
gulong sel_handler;
gulong ps_handler;
gulong sel_handler;