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, int pos, int len);
23
class Accessor : public LexAccessor {
25
PropSetSimple *pprops;
26
Accessor(IDocument *pAccess_, PropSetSimple *pprops_);
27
int GetPropertyInt(const char *, int defaultValue=0);
28
int IndentAmount(int line, int *flags, PFNIsCommentLeader pfnIsCommentLeader = 0);