From f120e3e367f01f006bd5ddfd9f1ac018273e75e3 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 10 Nov 2012 20:08:51 +0100 Subject: filename autocompletion using and * autocompletion only in specified states * GtkInfoPopup widget to display possible completions, written using Gob2 --- sciteco.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'sciteco.h') diff --git a/sciteco.h b/sciteco.h index e35ce92..8659890 100644 --- a/sciteco.h +++ b/sciteco.h @@ -5,12 +5,15 @@ #include #include +#include "gtk-info-popup.h" #include 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 -- cgit v1.2.3