diff options
author | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-24 19:57:07 +0100 |
---|---|---|
committer | Robin Haberkorn <robin.haberkorn@googlemail.com> | 2012-11-24 19:57:07 +0100 |
commit | 71f84c2ca051fb3f4e0e98faaba05e9449598b81 (patch) | |
tree | cdcf22acae633132c2690c9c4035be915760a450 /interface.h | |
parent | 2add69b7f08f19ae2687276ebafcf6989915aa69 (diff) | |
download | sciteco-71f84c2ca051fb3f4e0e98faaba05e9449598b81.tar.gz |
support auto-completion of symbols in the scintilla command (ES)
* does not yet handle case-insensitive completions
* does not handle omitting of the SCI_ prefix
Diffstat (limited to 'interface.h')
-rw-r--r-- | interface.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/interface.h b/interface.h index 223ec10..35ee1f7 100644 --- a/interface.h +++ b/interface.h @@ -80,13 +80,13 @@ public: /* NULL means to redraw the current cmdline if necessary */ virtual void cmdline_update(const gchar *cmdline = NULL) = 0; - enum PopupFileType { + enum PopupEntryType { + POPUP_PLAIN, POPUP_FILE, POPUP_DIRECTORY }; - virtual void popup_add_filename(PopupFileType type, - const gchar *filename, - bool highlight = false) = 0; + virtual void popup_add(PopupEntryType type, + const gchar *name, bool highlight = false) = 0; virtual void popup_show(void) = 0; virtual void popup_clear(void) = 0; |