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 | 2f2dfccd799599295329f90c17998feabff132e9 (patch) | |
tree | 88a8dade901c0d4118c272ecb5aa971e46015f4c /lexers/LexDMAP.cxx | |
parent | a334de1ef14e92748fe3e07cb4b8bb0401e69d07 (diff) | |
download | scintilla-mirror-2f2dfccd799599295329f90c17998feabff132e9.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/LexDMAP.cxx')
-rw-r--r-- | lexers/LexDMAP.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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; |