From fd0f2ad6df90dd7c8bf2cbdd781a6b4b3ed88f9b Mon Sep 17 00:00:00 2001 From: Neil Date: Tue, 27 Feb 2018 16:11:30 +1100 Subject: Backport: Use virtual to ensure LexState overrides LineEndTypesSupported method. Backport of changeset 6462:934f6f6451c2. --- src/Document.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Document.h') 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; } -- cgit v1.2.3