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/LexErlang.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/LexErlang.cxx')
-rw-r--r-- | lexers/LexErlang.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lexers/LexErlang.cxx b/lexers/LexErlang.cxx index 5f5225859..b4dd6e484 100644 --- a/lexers/LexErlang.cxx +++ b/lexers/LexErlang.cxx @@ -75,7 +75,7 @@ static inline bool IsAWordChar(const int ch) { return (ch < 0x80) && (ch != ' ') && (isalnum(ch) || ch == '_'); } -static void ColouriseErlangDoc(unsigned int startPos, int length, int initStyle, +static void ColouriseErlangDoc(Sci_PositionU startPos, Sci_Position length, int initStyle, WordList *keywordlists[], Accessor &styler) { StyleContext sc(startPos, length, initStyle, styler); @@ -521,7 +521,7 @@ static int ClassifyErlangFoldPoint( } static void FoldErlangDoc( - unsigned int startPos, int length, int initStyle, + Sci_PositionU startPos, Sci_Position length, int initStyle, WordList** /*keywordlists*/, Accessor &styler ) { unsigned int endPos = startPos + length; |