From 71f84c2ca051fb3f4e0e98faaba05e9449598b81 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Sat, 24 Nov 2012 19:57:07 +0100 Subject: 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 --- interface.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'interface.h') 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; -- cgit v1.2.3