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 | 1ba68d0a15f6412fa581845048c5013aee93558a (patch) | |
| tree | 7f2df1784788d877d5cc3992fc4012b1e86e8bc8 /src/Document.h | |
| parent | 82aeb241248289a06a664d93cd2745f592ddfd98 (diff) | |
| download | scintilla-mirror-1ba68d0a15f6412fa581845048c5013aee93558a.tar.gz | |
Use virtual to ensure LexState overrides LineEndTypesSupported method.
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 bd956ccbf..36e8ff2ac 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;  	}  | 
