diff options
| author | nyamatongwe <devnull@localhost> | 2009-05-03 03:52:19 +0000 | 
|---|---|---|
| committer | nyamatongwe <devnull@localhost> | 2009-05-03 03:52:19 +0000 | 
| commit | 37f710d4eea40efa99d8c1973f69f0fcf3e07aec (patch) | |
| tree | 869861d1a6c1d1eb9cf7f1f2d0e2f4f6616f7cb0 /src | |
| parent | f215b1c33bc8fac405d7b82f6697fc7b9332369b (diff) | |
| download | scintilla-mirror-37f710d4eea40efa99d8c1973f69f0fcf3e07aec.tar.gz | |
Turned on exceptions.
Translate exceptions into status codes before leaving Scintilla.
Pick up status codes in SciTE and throw a ScintillaFailure exception.
SciTE on Windows catches ScintillaFailure, shows message and exits.
Diffstat (limited to 'src')
| -rw-r--r-- | src/Editor.h | 3 | 
1 files changed, 2 insertions, 1 deletions
| diff --git a/src/Editor.h b/src/Editor.h index 35564ca8c..3b15920ff 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -125,7 +125,6 @@ protected:	// ScintillaBase subclass needs access to much of Editor  	bool hasFocus;  	bool hideSelection;  	bool inOverstrike; -	int errorStatus;  	bool mouseDownCaptures;  	/** In bufferedDraw mode, graphics operations are drawn to a pixmap and then copied to @@ -478,6 +477,8 @@ public:  	virtual sptr_t WndProc(unsigned int iMessage, uptr_t wParam, sptr_t lParam);  	// Public so scintilla_set_id can use it.  	int ctrlID; +	// Public so COM methods for drag and drop can set it. +	int errorStatus;  	friend class AutoSurface;  	friend class SelectionLineIterator;  }; | 
