From 2f2dfccd799599295329f90c17998feabff132e9 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/LexLua.cxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lexers/LexLua.cxx') diff --git a/lexers/LexLua.cxx b/lexers/LexLua.cxx index fd0d70fd4..7ef4a9080 100644 --- a/lexers/LexLua.cxx +++ b/lexers/LexLua.cxx @@ -42,8 +42,8 @@ static int LongDelimCheck(StyleContext &sc) { } static void ColouriseLuaDoc( - unsigned int startPos, - int length, + Sci_PositionU startPos, + Sci_Position length, int initStyle, WordList *keywordlists[], Accessor &styler) { @@ -347,7 +347,7 @@ static void ColouriseLuaDoc( sc.Complete(); } -static void FoldLuaDoc(unsigned int startPos, int length, int /* initStyle */, WordList *[], +static void FoldLuaDoc(Sci_PositionU startPos, Sci_Position length, int /* initStyle */, WordList *[], Accessor &styler) { unsigned int lengthDoc = startPos + length; int visibleChars = 0; -- cgit v1.2.3