#include <gtksourceview/gtksourcelanguage.h>
#include <gtksourceview/gtksourcelanguagemanager.h>
+#include <gtksourceview/gtksourcebuffer.h>
+#include <gtksourceview/gtksourceprintcompositor.h>
G_BEGIN_DECLS
/* <private> */
- GtkTextBuffer *buffer; /* The buffer which contains the text */
+ GtkSourceBuffer *buffer; /* The buffer which contains the text */
struct lexer *lexer; /* Lexer to parse syntax */
GtkWidget *sb;
guint text_context;
+
+ GtkPrintSettings *print_settings;
+ GtkSourcePrintCompositor *compositor;
+ GtkAction *undo_menuitem;
+ GtkAction *redo_menuitem;
};
struct _PsppireSyntaxWindowClass
GtkWidget* psppire_syntax_window_new (void);
void create_syntax_window (void);
-void open_syntax_window (const char *file_name);
+void open_new_syntax_window (const char *file_name);
+
G_END_DECLS