1 // Scintilla source code edit control
3 ** Interfaces between Scintilla and lexers.
5 // Copyright 1998-2010 by Neil Hodgson <neilh@scintilla.org>
6 // The License.txt file describes the conditions under which this software may be distributed.
15 enum { wsSpace
=1, wsTab
=2, wsSpaceTab
=4, wsInconsistent
=8 };
21 typedef bool (*PFNIsCommentLeader
)(Accessor
&styler
, Sci_Position pos
, Sci_Position len
);
23 class Accessor
: public LexAccessor
{
25 PropSetSimple
*pprops
;
26 Accessor(IDocument
*pAccess_
, PropSetSimple
*pprops_
);
27 int GetPropertyInt(const char *, int defaultValue
=0) const;
28 int IndentAmount(Sci_Position line
, int *flags
, PFNIsCommentLeader pfnIsCommentLeader
= 0);