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/LexHex.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/LexHex.cxx')
-rw-r--r-- | lexers/LexHex.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/lexers/LexHex.cxx b/lexers/LexHex.cxx index fe972ffe8..1799624fa 100644 --- a/lexers/LexHex.cxx +++ b/lexers/LexHex.cxx @@ -645,7 +645,7 @@ static int CalcTEHexChecksum(unsigned int recStartPos, Accessor &styler) } -static void ColouriseSrecDoc(unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler) +static void ColouriseSrecDoc(Sci_PositionU startPos, Sci_Position length, int initStyle, WordList *[], Accessor &styler) { StyleContext sc(startPos, length, initStyle, styler); @@ -769,7 +769,7 @@ static void ColouriseSrecDoc(unsigned int startPos, int length, int initStyle, W sc.Complete(); } -static void ColouriseIHexDoc(unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler) +static void ColouriseIHexDoc(Sci_PositionU startPos, Sci_Position length, int initStyle, WordList *[], Accessor &styler) { StyleContext sc(startPos, length, initStyle, styler); @@ -890,7 +890,7 @@ static void ColouriseIHexDoc(unsigned int startPos, int length, int initStyle, W sc.Complete(); } -static void FoldIHexDoc(unsigned int startPos, int length, int, WordList *[], Accessor &styler) +static void FoldIHexDoc(Sci_PositionU startPos, Sci_Position length, int, WordList *[], Accessor &styler) { unsigned int endPos = startPos + length; @@ -933,7 +933,7 @@ static void FoldIHexDoc(unsigned int startPos, int length, int, WordList *[], Ac } } -static void ColouriseTEHexDoc(unsigned int startPos, int length, int initStyle, WordList *[], Accessor &styler) +static void ColouriseTEHexDoc(Sci_PositionU startPos, Sci_Position length, int initStyle, WordList *[], Accessor &styler) { StyleContext sc(startPos, length, initStyle, styler); |