diff options
author | nyamatongwe <unknown> | 2009-05-03 03:52:19 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2009-05-03 03:52:19 +0000 |
commit | 3337bd8eeec8eec42e9f6900cc74c7068c07be71 (patch) | |
tree | 869861d1a6c1d1eb9cf7f1f2d0e2f4f6616f7cb0 /src | |
parent | 43ecd9afa99ea3466c8a055eecea0b4c4ad7b158 (diff) | |
download | scintilla-mirror-3337bd8eeec8eec42e9f6900cc74c7068c07be71.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; }; |