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 | c30768f1167cfe590e0b6a12c4a986e82a210cc3 (patch) | |
tree | 6048b8f9718abaf80f81ccfde41057d40a9198d2 /lexers/LexTCL.cxx | |
parent | 5f7e861ca9e4c776f40eb884a3d6e97362842904 (diff) | |
download | scintilla-mirror-c30768f1167cfe590e0b6a12c4a986e82a210cc3.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/LexTCL.cxx')
-rw-r--r-- | lexers/LexTCL.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lexers/LexTCL.cxx b/lexers/LexTCL.cxx index dfcab54ea..18334a323 100644 --- a/lexers/LexTCL.cxx +++ b/lexers/LexTCL.cxx @@ -45,7 +45,7 @@ static inline bool IsANumberChar(int ch) { ch == '.' || ch == '-' || ch == '+'); } -static void ColouriseTCLDoc(unsigned int startPos, int length, int , WordList *keywordlists[], Accessor &styler) { +static void ColouriseTCLDoc(Sci_PositionU startPos, Sci_Position length, int, WordList *keywordlists[], Accessor &styler) { #define isComment(s) (s==SCE_TCL_COMMENT || s==SCE_TCL_COMMENTLINE || s==SCE_TCL_COMMENT_BOX || s==SCE_TCL_BLOCK_COMMENT) bool foldComment = styler.GetPropertyInt("fold.comment") != 0; bool commentLevel = false; |