aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexAPDL.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'lexers/LexAPDL.cxx')
-rw-r--r--lexers/LexAPDL.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/lexers/LexAPDL.cxx b/lexers/LexAPDL.cxx
index 8289def08..873ec9d13 100644
--- a/lexers/LexAPDL.cxx
+++ b/lexers/LexAPDL.cxx
@@ -187,13 +187,13 @@ static int CheckAPDLFoldPoint(char const *token, int &level) {
static void FoldAPDLDoc(Sci_PositionU startPos, Sci_Position length, int,
WordList *[], Accessor &styler) {
- int line = styler.GetLine(startPos);
+ Sci_Position line = styler.GetLine(startPos);
int level = styler.LevelAt(line);
int go = 0, done = 0;
- int endPos = startPos + length;
+ Sci_Position endPos = startPos + length;
char word[256];
int wordlen = 0;
- int i;
+ Sci_Position i;
bool foldCompact = styler.GetPropertyInt("fold.compact", 1) != 0;
// Scan for tokens at the start of the line (they may include
// whitespace, for tokens like "End Function"