aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Document.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Document.h')
-rw-r--r--src/Document.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Document.h b/src/Document.h
index b6c9c5bd1..788f9bd33 100644
--- a/src/Document.h
+++ b/src/Document.h
@@ -228,6 +228,7 @@ private:
bool matchesValid;
std::unique_ptr<RegexSearchBase> regex;
+ std::unique_ptr<LexInterface> pli;
public:
@@ -243,8 +244,6 @@ public:
}
};
- LexInterface *pli;
-
int eolMode;
/// Can also be SC_CP_UTF8 to enable UTF-8 mode
int dbcsCodePage;
@@ -415,6 +414,8 @@ public:
void IncrementStyleClock();
void SCI_METHOD DecorationSetCurrentIndicator(int indicator);
void SCI_METHOD DecorationFillRange(Sci_Position position, int value, Sci_Position fillLength);
+ LexInterface *GetLexInterface() const;
+ void SetLexInterface(LexInterface *pLexInterface);
int SCI_METHOD SetLineState(Sci_Position line, int state);
int SCI_METHOD GetLineState(Sci_Position line) const;