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/LexDMAP.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lexers/LexDMAP.cxx') diff --git a/lexers/LexDMAP.cxx b/lexers/LexDMAP.cxx index 431000a4e..8f3706b77 100644 --- a/lexers/LexDMAP.cxx +++ b/lexers/LexDMAP.cxx @@ -38,7 +38,7 @@ static inline bool IsAWordStart(const int ch) { return (ch < 0x80) && (isalnum(ch)); } /***************************************/ -static void ColouriseDMAPDoc(unsigned int startPos, int length, int initStyle, +static void ColouriseDMAPDoc(Sci_PositionU startPos, Sci_Position length, int initStyle, WordList *keywordlists[], Accessor &styler) { WordList &keywords = *keywordlists[0]; WordList &keywords2 = *keywordlists[1]; @@ -151,7 +151,7 @@ static int classifyFoldPointDMAP(const char* s, const char* prevWord) { return lev; } // Folding the code -static void FoldDMAPDoc(unsigned int startPos, int length, int initStyle, +static void FoldDMAPDoc(Sci_PositionU startPos, Sci_Position length, int initStyle, WordList *[], Accessor &styler) { // // bool foldComment = styler.GetPropertyInt("fold.comment") != 0; -- cgit v1.2.3