diff options
author | nyamatongwe <unknown> | 2010-08-11 16:22:21 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2010-08-11 16:22:21 +1000 |
commit | 4ba93e2fb8732516624bf96c4912f12d24ab7ad9 (patch) | |
tree | 2f8df87e5e50fbdb6ce15cc7722b7a24b61fd8e7 /lexers/LexPowerShell.cxx | |
parent | 13654c825d2a8e6caee0d5a9123922b69d89515e (diff) | |
download | scintilla-mirror-4ba93e2fb8732516624bf96c4912f12d24ab7ad9.tar.gz |
Feature Request #3042228 Allow underscore to be a Powershell word character.
Diffstat (limited to 'lexers/LexPowerShell.cxx')
-rw-r--r-- | lexers/LexPowerShell.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexPowerShell.cxx b/lexers/LexPowerShell.cxx index 2416ab0d4..2b5c53fff 100644 --- a/lexers/LexPowerShell.cxx +++ b/lexers/LexPowerShell.cxx @@ -30,7 +30,7 @@ using namespace Scintilla; // Extended to accept accented characters static inline bool IsAWordChar(int ch) { - return ch >= 0x80 || isalnum(ch) || ch == '-'; + return ch >= 0x80 || isalnum(ch) || ch == '-' || ch == '_'; } static void ColourisePowerShellDoc(unsigned int startPos, int length, int initStyle, |