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=b525a9596e60d5ae4c6c464b4a426b77ade3dd72;hp=ce4beac203488b04625af52088d9bbaef0242064;hpb=fd4b99dc5367c6cd8f4ef2d9a151d001676eef7f;p=pspp diff --git a/src/ui/gui/psppire-syntax-window.h b/src/ui/gui/psppire-syntax-window.h index ce4beac203..161b374597 100644 --- a/src/ui/gui/psppire-syntax-window.h +++ b/src/ui/gui/psppire-syntax-window.h @@ -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 @@ -23,10 +23,9 @@ #include #include "psppire-window.h" -#include -#include -#include -#include +#include + +#include "language/lexer/lexer.h" G_BEGIN_DECLS @@ -51,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; @@ -67,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;