aboutsummaryrefslogtreecommitdiffhomepage
path: root/lexlib/LexerBase.h
diff options
context:
space:
mode:
Diffstat (limited to 'lexlib/LexerBase.h')
-rw-r--r--lexlib/LexerBase.h12
1 files changed, 11 insertions, 1 deletions
diff --git a/lexlib/LexerBase.h b/lexlib/LexerBase.h
index ddc561c5c..f0378916f 100644
--- a/lexlib/LexerBase.h
+++ b/lexlib/LexerBase.h
@@ -13,7 +13,7 @@ namespace Scintilla {
#endif
// A simple lexer with no state
-class LexerBase : public ILexer {
+class LexerBase : public ILexer4 {
protected:
PropSetSimple props;
enum {numWordLists=KEYWORDSET_MAX+1};
@@ -32,6 +32,16 @@ public:
void SCI_METHOD Lex(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, IDocument *pAccess) override = 0;
void SCI_METHOD Fold(Sci_PositionU startPos, Sci_Position lengthDoc, int initStyle, IDocument *pAccess) override = 0;
void * SCI_METHOD PrivateCall(int operation, void *pointer) override;
+ int SCI_METHOD LineEndTypesSupported() override;
+ int SCI_METHOD AllocateSubStyles(int styleBase, int numberStyles) override;
+ int SCI_METHOD SubStylesStart(int styleBase) override;
+ int SCI_METHOD SubStylesLength(int styleBase) override;
+ int SCI_METHOD StyleFromSubStyle(int subStyle) override;
+ int SCI_METHOD PrimaryStyleFromStyle(int style) override;
+ void SCI_METHOD FreeSubStyles() override;
+ void SCI_METHOD SetIdentifiers(int style, const char *identifiers) override;
+ int SCI_METHOD DistanceToSecondaryStyles() override;
+ const char * SCI_METHOD GetSubStyleBases() override;
};
#ifdef SCI_NAMESPACE