aboutsummaryrefslogtreecommitdiffhomepage
path: root/sciteco.h
diff options
context:
space:
mode:
Diffstat (limited to 'sciteco.h')
-rw-r--r--sciteco.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/sciteco.h b/sciteco.h
index e35ce92..8659890 100644
--- a/sciteco.h
+++ b/sciteco.h
@@ -5,12 +5,15 @@
#include <glib.h>
#include <gtk/gtk.h>
+#include "gtk-info-popup.h"
#include <Scintilla.h>
extern gchar *cmdline;
extern bool quit_requested;
+extern GtkInfoPopup *filename_popup;
+
void message_display(GtkMessageType type,
const gchar *fmt, ...) G_GNUC_PRINTF(2, 3);
@@ -21,6 +24,7 @@ sptr_t editor_msg(unsigned int iMessage, uptr_t wParam = 0, sptr_t lParam = 0);
#define IS_CTL(C) ((C) < ' ')
#define CTL_ECHO(C) ((C) | 0x40)
+#define CTL_KEY(C) ((C) & ~0x40)
/* TECO uses only lower 7 bits for commands */
#define MAX_TRANSITIONS 127