diff options
Diffstat (limited to 'src/Editor.h')
| -rw-r--r-- | src/Editor.h | 3 | 
1 files changed, 3 insertions, 0 deletions
| diff --git a/src/Editor.h b/src/Editor.h index 0c04b41cd..1dccf35c7 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -38,6 +38,9 @@ public:  };  class Editor : public DocWatcher { +	// Private so Editor objects can not be copied +	Editor(const Editor &) : DocWatcher() {} +	Editor &operator=(const Editor &) { return *this; }  protected:	// ScintillaBase subclass needs access to much of Editor  	// On GTK+, Scintilla is a container widget holding two scroll bars and a drawing area | 
