Implemented the recently used files menus.
[pspp-builds.git] / src / ui / gui / syntax-editor.h
index cfb49803dea1afbd2ecaadef7854f546eb760b95..7e8a40e2dc1294b7cb3767b74e73c71c6ebe5e00 100644 (file)
 
 #include "window-manager.h"
 
+struct lexer;
+
 struct syntax_editor
 {
   struct editor_window parent;
   GtkTextBuffer *buffer;  /* The buffer which contains the text */
+  struct lexer *lexer;    /* Lexer to parse syntax */
 };
 
 
@@ -38,5 +41,7 @@ void new_syntax_window (GtkMenuItem *, gpointer);
 
 void open_syntax_window (GtkMenuItem *, gpointer);
 
-
+gboolean load_editor_from_file (struct syntax_editor *se,
+                               const gchar *filename,
+                               GError **err);
 #endif