aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexSpice.cxx
diff options
context:
space:
mode:
authorJoe Mueller <unknown>2015-07-30 14:35:17 +1000
committerJoe Mueller <unknown>2015-07-30 14:35:17 +1000
commit58471e908a3b74b27379bb19a13d62cd8d4476b0 (patch)
tree8f61293f34d008fea20584c631d23e58b3fe53aa /lexers/LexSpice.cxx
parent2270ab97445c6f12bd0fddb273ab617fdb421594 (diff)
downloadscintilla-mirror-58471e908a3b74b27379bb19a13d62cd8d4476b0.tar.gz
Use Sci_Position / Sci_PositionU for variables in lexers that represent
positions and line numbers and may be widened to 64-bits in a future release.
Diffstat (limited to 'lexers/LexSpice.cxx')
-rw-r--r--lexers/LexSpice.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexSpice.cxx b/lexers/LexSpice.cxx
index 91575ea33..d834e26bf 100644
--- a/lexers/LexSpice.cxx
+++ b/lexers/LexSpice.cxx
@@ -145,7 +145,7 @@ static void ColouriseDocument(
WordList &keywords2 = *keywordlists[1];
WordList &keywords3 = *keywordlists[2];
StyleContext sc(startPos, length, initStyle, styler);
- int lineCurrent = styler.GetLine(startPos);
+ Sci_Position lineCurrent = styler.GetLine(startPos);
bool apostropheStartsAttribute = (styler.GetLineState(lineCurrent) & 1) != 0;
while (sc.More()) {
if (sc.atLineEnd) {