diff options
Diffstat (limited to 'src/ScintillaBase.cxx')
| -rw-r--r-- | src/ScintillaBase.cxx | 5 | 
1 files changed, 5 insertions, 0 deletions
| diff --git a/src/ScintillaBase.cxx b/src/ScintillaBase.cxx index f0fde7c9f..cf2f1c63b 100644 --- a/src/ScintillaBase.cxx +++ b/src/ScintillaBase.cxx @@ -553,6 +553,11 @@ public:  	int lexLanguage;  	explicit LexState(Document *pdoc_); +	// Deleted so LexState objects can not be copied. +	LexState(const LexState &) = delete; +	LexState(LexState &&) = delete; +	LexState &operator=(const LexState &) = delete; +	LexState &operator=(LexState &&) = delete;  	~LexState() override;  	void SetLexer(uptr_t wParam);  	void SetLexerLanguage(const char *languageName); | 
