diff options
author | Neil <nyamatongwe@gmail.com> | 2015-07-29 09:46:53 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-07-29 09:46:53 +1000 |
commit | 7604a6b2a98fc2250408368eb51f8f6827d888c8 (patch) | |
tree | 12d1805299de9c35a8c3e17a92480212125f50c0 /lexlib/Accessor.h | |
parent | e9f77f985ad02f0bc79580e3df572c6c6449d03e (diff) | |
download | scintilla-mirror-7604a6b2a98fc2250408368eb51f8f6827d888c8.tar.gz |
Change lexlib to use Sci_Position and Sci_PositionU to prepare for large file
support.
Diffstat (limited to 'lexlib/Accessor.h')
-rw-r--r-- | lexlib/Accessor.h | 4 |
1 files changed, 2 insertions, 2 deletions
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 |