diff options
author | Neil <nyamatongwe@gmail.com> | 2015-07-25 11:25:56 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-07-25 11:25:56 +1000 |
commit | 2f2dfccd799599295329f90c17998feabff132e9 (patch) | |
tree | 88a8dade901c0d4118c272ecb5aa971e46015f4c /lexers/LexTCMD.cxx | |
parent | a334de1ef14e92748fe3e07cb4b8bb0401e69d07 (diff) | |
download | scintilla-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/LexTCMD.cxx')
-rw-r--r-- | lexers/LexTCMD.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexTCMD.cxx b/lexers/LexTCMD.cxx index 9da760542..7d86db2bc 100644 --- a/lexers/LexTCMD.cxx +++ b/lexers/LexTCMD.cxx @@ -401,7 +401,7 @@ ColorizeArg: styler.ColourTo(endPos, SCE_TCMD_DEFAULT); } -static void ColouriseTCMDDoc( unsigned int startPos, int length, int /*initStyle*/, WordList *keywordlists[], Accessor &styler ) +static void ColouriseTCMDDoc(Sci_PositionU startPos, Sci_Position length, int /*initStyle*/, WordList *keywordlists[], Accessor &styler) { char lineBuffer[16384]; @@ -434,7 +434,7 @@ static void StrUpr(char *s) { } // Folding support (for DO, IFF, SWITCH, TEXT, and command groups) -static void FoldTCMDDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) +static void FoldTCMDDoc(Sci_PositionU startPos, Sci_Position length, int, WordList *[], Accessor &styler) { int line = styler.GetLine(startPos); int level = styler.LevelAt(line); |