diff options
author | nyamatongwe <devnull@localhost> | 2010-08-11 16:22:21 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2010-08-11 16:22:21 +1000 |
commit | f47552cd3e9f9b53da655cc46a7f2c96d4a712b1 (patch) | |
tree | bb31bdc32bd17b764babe4c3c0c2abcc4bb1d00f /lexers/LexPowerShell.cxx | |
parent | f79a833e2d6cfd30e61257d24f40cf5561dc5a3f (diff) | |
download | scintilla-mirror-f47552cd3e9f9b53da655cc46a7f2c96d4a712b1.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, |