#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 */
};
void open_syntax_window (GtkMenuItem *, gpointer);
-
+gboolean load_editor_from_file (struct syntax_editor *se,
+ const gchar *filename,
+ GError **err);
#endif