Andreas Tscharner
2014-05-01 16:37:59 UTC
Hello World,
Hello Neil,
While replacing a member variable with a local variable, the not sign
went missing at one place. Attached and inline is a patch that fixes
that problem in LexDMIS
----- Start -----
# HG changeset patch
# User Andreas Tscharner <***@vis.ethz.ch>
# Date 1398961944 -7200
# Thu May 01 18:32:24 2014 +0200
# Node ID f9abf4d803e7faf6ab32630e04082816a7b7bb50
# Parent 47930e19603b1ac508b6172e69285e540e13aaba
Add missing not sign to fix DMIS label highlighting
diff --git a/lexers/LexDMIS.cxx b/lexers/LexDMIS.cxx
--- a/lexers/LexDMIS.cxx
+++ b/lexers/LexDMIS.cxx
@@ -263,7 +263,7 @@
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);
----- End -----
Best regards
Andreas
--
Andreas Tscharner <***@gmail.com>
----------------------------------------------------------------------
"Intruder on level one. All Aliens please proceed to level one."
-- Call in "Alien: Resurrection"
Hello Neil,
While replacing a member variable with a local variable, the not sign
went missing at one place. Attached and inline is a patch that fixes
that problem in LexDMIS
----- Start -----
# HG changeset patch
# User Andreas Tscharner <***@vis.ethz.ch>
# Date 1398961944 -7200
# Thu May 01 18:32:24 2014 +0200
# Node ID f9abf4d803e7faf6ab32630e04082816a7b7bb50
# Parent 47930e19603b1ac508b6172e69285e540e13aaba
Add missing not sign to fix DMIS label highlighting
diff --git a/lexers/LexDMIS.cxx b/lexers/LexDMIS.cxx
--- a/lexers/LexDMIS.cxx
+++ b/lexers/LexDMIS.cxx
@@ -263,7 +263,7 @@
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);
----- End -----
Best regards
Andreas
--
Andreas Tscharner <***@gmail.com>
----------------------------------------------------------------------
"Intruder on level one. All Aliens please proceed to level one."
-- Call in "Alien: Resurrection"
--
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "scintilla-interest" group.
To unsubscribe from this group and stop receiving emails from it, send an email to scintilla-interest+***@googlegroups.com.
To post to this group, send email to scintilla-***@googlegroups.com.
Visit this group at http://groups.google.com/group/scintilla-interest.
For more options, visit https://groups.google.com/d/optout.