X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=src%2Fui%2Fgui%2Fpsppire-syntax-window.h;h=161b374597998e861e1421f7f290bd3ec256e5d3;hb=8642df034e82487ec7ff476fbfbacbd5b65eb88a;hp=cb125028c94181b4c94ac229d60d42a90f82d4ad;hpb=77fe5d8695e5be12ed1d543e18033b244861b086;p=pspp diff --git a/src/ui/gui/psppire-syntax-window.h b/src/ui/gui/psppire-syntax-window.h index cb125028c9..161b374597 100644 --- a/src/ui/gui/psppire-syntax-window.h +++ b/src/ui/gui/psppire-syntax-window.h @@ -25,6 +25,8 @@ #include +#include "language/lexer/lexer.h" + G_BEGIN_DECLS #define PSPPIRE_SYNTAX_WINDOW_TYPE (psppire_syntax_window_get_type ()) @@ -48,10 +50,10 @@ struct _PsppireSyntaxWindow /* */ 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; + enum segmenter_mode syntax_mode; GtkPrintSettings *print_settings; GtkSourcePrintCompositor *compositor; @@ -64,6 +66,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;