diff options
| author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-10 20:08:51 +0100 |
|---|---|---|
| committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-10 20:08:51 +0100 |
| commit | f120e3e367f01f006bd5ddfd9f1ac018273e75e3 (patch) | |
| tree | 65e51cfbc6bc05eb25d331bcb86ed642a1af6bad /sciteco.h | |
| parent | 5aa548cd63edb8ba12c656300a2a5f0ff62a7b36 (diff) | |
filename autocompletion using <CTRL/T> and <TAB>
* <TAB> autocompletion only in specified states
* GtkInfoPopup widget to display possible completions, written using Gob2
Diffstat (limited to 'sciteco.h')
| -rw-r--r-- | sciteco.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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 |
