lexer: Reimplement for better testability and internationalization.
[pspp-builds.git] / src / ui / gui / psppire-syntax-window.h
index 9da7c86996c6335d6b38866982f91ae0c5a9cfc0..2b1fe03f4d00894fc1af62e5b063873759a69f9f 100644 (file)
@@ -48,7 +48,6 @@ struct _PsppireSyntaxWindow
   /* <private> */
 
   GtkTextBuffer *buffer;  /* The buffer which contains the text */
-  struct lexer *lexer;    /* Lexer to parse syntax */
   GtkWidget *sb;
   guint text_context;
 
@@ -58,6 +57,11 @@ struct _PsppireSyntaxWindow
   GtkAction *edit_copy;
   GtkAction *edit_delete;
   GtkAction *edit_paste;
+
+  gulong ps_handler;
+  gulong sel_handler;
+
+  gboolean dispose_has_run;
 };
 
 struct _PsppireSyntaxWindowClass