diff options
| author | Andreas Tscharner <andreas.tscharner@metromec.ch> | 2014-05-02 17:12:03 +0200 |
|---|---|---|
| committer | Andreas Tscharner <andreas.tscharner@metromec.ch> | 2014-05-02 17:12:03 +0200 |
| commit | ec420a6257cfa1403d8f2dcc399bcf344e328101 (patch) | |
| tree | 2cc42621caf978573a188813f344c614d0615617 | |
| parent | 39f09b8b6cac7f7edf0690476f34ee4fcbd2f264 (diff) | |
| download | scintilla-mirror-ec420a6257cfa1403d8f2dcc399bcf344e328101.tar.gz | |
Add missing not sign to fix DMIS label highlighting
| -rw-r--r-- | lexers/LexDMIS.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexDMIS.cxx b/lexers/LexDMIS.cxx index 24aee21d1..7f23ba96b 100644 --- a/lexers/LexDMIS.cxx +++ b/lexers/LexDMIS.cxx @@ -263,7 +263,7 @@ void SCI_METHOD LexerDMIS::Lex(unsigned int startPos, int lengthDoc, int initSty scCTX.ChangeState(SCE_DMIS_UNSUPPORTED_MINOR); }; - if (scCTX.Match('(') && (isIFLine)) { + if (scCTX.Match('(') && (!isIFLine)) { scCTX.SetState(SCE_DMIS_LABEL); } else { scCTX.SetState(SCE_DMIS_DEFAULT); |
