aboutsummaryrefslogtreecommitdiffhomepage
path: root/symbols.h
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-24 17:56:29 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2012-11-24 17:56:29 +0100
commitfad826dcfe095d57aa5faf6cc8a863069f65b0d6 (patch)
tree729df2493b9a56a023ac04868bb5069451e27f45 /symbols.h
parent0e536bd36250419698fe884d01d5997581241d93 (diff)
allow symbolic names (symbols) being specified for the scintilla (ES) command
* new syntax is <[lParam,[wParam,[msg]]]>ES[msg[,wParam[,lParam]]]$[lParam string]$ * symbols are matched case-insensitive, the leading SCI_ for message symbols may be omitted * added support for more multiple string arguments (for commands in general) * fixed "C conditional: succeeds for every alpanumeric character, dot, dollar or underscore * added SCLEX_ and SCE_ constants as symbols * updated teco.ini: using symbolic names is preferred since that way code does not depend on the current Scintilla version
Diffstat (limited to 'symbols.h')
-rw-r--r--symbols.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/symbols.h b/symbols.h
index 735fdda..a603b3b 100644
--- a/symbols.h
+++ b/symbols.h
@@ -18,12 +18,14 @@ public:
SymbolList(const Entry *_entries = NULL, gint _size = 0)
: entries(_entries), size(_size) {}
- gint lookup(const gchar *name);
+ gint lookup(const gchar *name, const gchar *prefix = "",
+ bool case_sensitive = false);
GList *get_glist(void);
};
namespace Symbols {
extern SymbolList __attribute__((weak)) scintilla;
+ extern SymbolList __attribute__((weak)) scilexer;
}
#endif