From c30768f1167cfe590e0b6a12c4a986e82a210cc3 Mon Sep 17 00:00:00 2001 From: Neil Date: Sat, 25 Jul 2015 11:25:56 +1000 Subject: Use Sci_PositionU/Sci_Position for arguments to functional lexers, folders, and comment recognizers to allow for future implementation of 64-bit positions. --- lexers/LexNimrod.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lexers/LexNimrod.cxx') diff --git a/lexers/LexNimrod.cxx b/lexers/LexNimrod.cxx index 08b76fe69..e02203e24 100644 --- a/lexers/LexNimrod.cxx +++ b/lexers/LexNimrod.cxx @@ -179,7 +179,7 @@ static int scanNumber(Accessor &styler, int pos) { /* rewritten from scratch, because I couldn't get rid of the bugs... (A character based approach sucks!) */ -static void ColouriseNimrodDoc(unsigned int startPos, int length, int initStyle, +static void ColouriseNimrodDoc(Sci_PositionU startPos, Sci_Position length, int initStyle, WordList *keywordlists[], Accessor &styler) { int pos = startPos; int max = startPos + length; @@ -283,7 +283,7 @@ static bool IsQuoteLine(int line, Accessor &styler) { } -static void FoldNimrodDoc(unsigned int startPos, int length, +static void FoldNimrodDoc(Sci_PositionU startPos, Sci_Position length, int /*initStyle - unused*/, WordList *[], Accessor &styler) { const int maxPos = startPos + length; -- cgit v1.2.3