projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Updated the about box to work properly with Gtk+2.10
[pspp]
/
src
/
ui
/
gui
/
syntax-editor.h
diff --git
a/src/ui/gui/syntax-editor.h
b/src/ui/gui/syntax-editor.h
index 038e10624e439d74940a0ebffed5a4e1c1a52480..0d366831b988fc817fa41689b71d4d8d732e1a25 100644
(file)
--- a/
src/ui/gui/syntax-editor.h
+++ b/
src/ui/gui/syntax-editor.h
@@
-23,14
+23,23
@@
#include <gtk/gtk.h>
#include <gtk/gtk.h>
+#include "window-manager.h"
+struct lexer;
struct syntax_editor
{
struct syntax_editor
{
- GtkWidget *window; /* The top level window of the editor */
+ struct editor_window parent;
GtkTextBuffer *buffer; /* The buffer which contains the text */
GtkTextBuffer *buffer; /* The buffer which contains the text */
-
gchar *name; /* The name of this syntax buffer/editor
*/
+
struct lexer *lexer; /* Lexer to parse syntax
*/
};
};
+struct syntax_editor * new_syntax_editor (void);
+
+void new_syntax_window (GtkMenuItem *, gpointer);
+
+void open_syntax_window (GtkMenuItem *, gpointer);
+
+
#endif
#endif