aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexSpice.cxx
diff options
context:
space:
mode:
authorJoe Mueller <devnull@localhost>2015-07-30 14:35:17 +1000
committerJoe Mueller <devnull@localhost>2015-07-30 14:35:17 +1000
commit96229bb5f01e86efe382523e1ee79ff23bdcc8e0 (patch)
tree5aa3c8becad92a397b02445001383e188070f287 /lexers/LexSpice.cxx
parent7604a6b2a98fc2250408368eb51f8f6827d888c8 (diff)
downloadscintilla-mirror-96229bb5f01e86efe382523e1ee79ff23bdcc8e0.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) {