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/LexEiffel.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/LexEiffel.cxx')
-rw-r--r-- | lexers/LexEiffel.cxx | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lexers/LexEiffel.cxx b/lexers/LexEiffel.cxx index 067801ca8..94ebab35b 100644 --- a/lexers/LexEiffel.cxx +++ b/lexers/LexEiffel.cxx @@ -46,8 +46,8 @@ static inline bool IsAWordStart(unsigned int ch) { return (ch < 0x80) && (isalnum(ch) || ch == '_'); } -static void ColouriseEiffelDoc(unsigned int startPos, - int length, +static void ColouriseEiffelDoc(Sci_PositionU startPos, + Sci_Position length, int initStyle, WordList *keywordlists[], Accessor &styler) { @@ -118,11 +118,11 @@ static void ColouriseEiffelDoc(unsigned int startPos, sc.Complete(); } -static bool IsEiffelComment(Accessor &styler, int pos, int len) { +static bool IsEiffelComment(Accessor &styler, Sci_Position pos, Sci_Position len) { return len>1 && styler[pos]=='-' && styler[pos+1]=='-'; } -static void FoldEiffelDocIndent(unsigned int startPos, int length, int, +static void FoldEiffelDocIndent(Sci_PositionU startPos, Sci_Position length, int, WordList *[], Accessor &styler) { int lengthDoc = startPos + length; @@ -164,7 +164,7 @@ static void FoldEiffelDocIndent(unsigned int startPos, int length, int, } } -static void FoldEiffelDocKeyWords(unsigned int startPos, int length, int /* initStyle */, WordList *[], +static void FoldEiffelDocKeyWords(Sci_PositionU startPos, Sci_Position length, int /* initStyle */, WordList *[], Accessor &styler) { unsigned int lengthDoc = startPos + length; int visibleChars = 0; |