diff options
| author | Neil <nyamatongwe@gmail.com> | 2018-02-27 16:11:30 +1100 |
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2018-02-27 16:11:30 +1100 |
| commit | fd0f2ad6df90dd7c8bf2cbdd781a6b4b3ed88f9b (patch) | |
| tree | 12cbe2901d5ca3e0ec92fbd352616faaed865d50 /src/Document.h | |
| parent | 4434a57717efbec42d67c571890fc848183e500f (diff) | |
| download | scintilla-mirror-fd0f2ad6df90dd7c8bf2cbdd781a6b4b3ed88f9b.tar.gz | |
Backport: Use virtual to ensure LexState overrides LineEndTypesSupported method.
Backport of changeset 6462:934f6f6451c2.
Diffstat (limited to 'src/Document.h')
| -rw-r--r-- | src/Document.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Document.h b/src/Document.h index f69c2a34e..6f803fecf 100644 --- a/src/Document.h +++ b/src/Document.h @@ -181,7 +181,7 @@ public: virtual ~LexInterface() { } void Colourise(Sci::Position start, Sci::Position end); - int LineEndTypesSupported(); + virtual int LineEndTypesSupported(); bool UseContainerLexing() const { return instance == 0; } |
