diff options
| author | Neil <nyamatongwe@gmail.com> | 2013-12-02 10:37:40 +1100 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2013-12-02 10:37:40 +1100 | 
| commit | f038aae3951fc3290b526a29983e1ce59431438c (patch) | |
| tree | 5ea39882f2132aaba30a08693aee93e247939d9d | |
| parent | 122216e42f690ef7cede2298cc0395e256ae6f1d (diff) | |
| download | scintilla-mirror-f038aae3951fc3290b526a29983e1ce59431438c.tar.gz | |
Fixed a problem when lexing started at the start of a comment line so the
previous character had not been set and was 0.
| -rw-r--r-- | lexers/LexBash.cxx | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/lexers/LexBash.cxx b/lexers/LexBash.cxx index 513a5dff8..b85d01a7d 100644 --- a/lexers/LexBash.cxx +++ b/lexers/LexBash.cxx @@ -109,6 +109,7 @@ static void ColouriseBashDoc(unsigned int startPos, int length, int initStyle,  	// note that [+-] are often parts of identifiers in shell scripts  	CharacterSet setWord(CharacterSet::setAlphaNum, "._+-");  	CharacterSet setMetaCharacter(CharacterSet::setNone, "|&;()<> \t\r\n"); +	setMetaCharacter.Add(0);  	CharacterSet setBashOperator(CharacterSet::setNone, "^&%()-+=|{}[]:;>,*/<?!.~@");  	CharacterSet setSingleCharOp(CharacterSet::setNone, "rwxoRWXOezsfdlpSbctugkTBMACahGLNn");  	CharacterSet setParam(CharacterSet::setAlphaNum, "$_"); | 
