aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/Accessor.h
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2015-07-29 09:46:53 +1000
committerNeil <nyamatongwe@gmail.com>2015-07-29 09:46:53 +1000
commit2270ab97445c6f12bd0fddb273ab617fdb421594 (patch)
treea66a4e5103caa5d372f09ef2068bc051f73aeda6 /lexlib/Accessor.h
parenta45905e5991b5198d180e3386aa6b33bb5e88f32 (diff)
downloadscintilla-mirror-2270ab97445c6f12bd0fddb273ab617fdb421594.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.h4
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