aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexers/LexECL.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-07-25 11:25:56 +1000
committerNeil <nyamatongwe@gmail.com>2015-07-25 11:25:56 +1000
commit2f2dfccd799599295329f90c17998feabff132e9 (patch)
tree88a8dade901c0d4118c272ecb5aa971e46015f4c /lexers/LexECL.cxx
parenta334de1ef14e92748fe3e07cb4b8bb0401e69d07 (diff)
downloadscintilla-mirror-2f2dfccd799599295329f90c17998feabff132e9.tar.gz
Use Sci_PositionU/Sci_Position for arguments to functional lexers, folders, and
comment recognizers to allow for future implementation of 64-bit positions.
Diffstat (limited to 'lexers/LexECL.cxx')
-rw-r--r--lexers/LexECL.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexECL.cxx b/lexers/LexECL.cxx
index d8065f722..9f47b01a0 100644
--- a/lexers/LexECL.cxx
+++ b/lexers/LexECL.cxx
@@ -62,7 +62,7 @@ static bool IsSpaceEquiv(int state) {
}
}
-static void ColouriseEclDoc(unsigned int startPos, int length, int initStyle, WordList *keywordlists[],
+static void ColouriseEclDoc(Sci_PositionU startPos, Sci_Position length, int initStyle, WordList *keywordlists[],
Accessor &styler) {
WordList &keywords0 = *keywordlists[0];
WordList &keywords1 = *keywordlists[1];
@@ -405,7 +405,7 @@ bool MatchNoCase(Accessor & styler, unsigned int & pos, const char *s) {
// Store both the current line's fold level and the next lines in the
// level store to make it easy to pick up with each increment
// and to make it possible to fiddle the current level for "} else {".
-static void FoldEclDoc(unsigned int startPos, int length, int initStyle,
+static void FoldEclDoc(Sci_PositionU startPos, Sci_Position length, int initStyle,
WordList *[], Accessor &styler) {
bool foldComment = true;
bool foldPreprocessor = true;