From 7604a6b2a98fc2250408368eb51f8f6827d888c8 Mon Sep 17 00:00:00 2001 From: Neil Date: Wed, 29 Jul 2015 09:46:53 +1000 Subject: Change lexlib to use Sci_Position and Sci_PositionU to prepare for large file support. --- lexlib/Accessor.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lexlib/Accessor.h') diff --git a/lexlib/Accessor.h b/lexlib/Accessor.h index 7a58785f3..00b2a54da 100644 --- a/lexlib/Accessor.h +++ b/lexlib/Accessor.h @@ -18,14 +18,14 @@ class Accessor; class WordList; class PropSetSimple; -typedef bool(*PFNIsCommentLeader)(Accessor &styler, Sci_Position pos, Sci_Position len); +typedef bool (*PFNIsCommentLeader)(Accessor &styler, Sci_Position pos, Sci_Position len); class Accessor : public LexAccessor { public: PropSetSimple *pprops; Accessor(IDocument *pAccess_, PropSetSimple *pprops_); int GetPropertyInt(const char *, int defaultValue=0) const; - int IndentAmount(int line, int *flags, PFNIsCommentLeader pfnIsCommentLeader = 0); + int IndentAmount(Sci_Position line, int *flags, PFNIsCommentLeader pfnIsCommentLeader = 0); }; #ifdef SCI_NAMESPACE -- cgit v1.2.3