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 | f25dfe857db20f385b91549d851909073b3b78a8 (patch) | |
tree | c11a9fa6eadcd631ad88d6cf74308dec697d6061 | |
parent | 951057302ac78740d28173995cb9ea170a4b9798 (diff) | |
download | scintilla-mirror-f25dfe857db20f385b91549d851909073b3b78a8.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); |