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 /include/Scintilla.iface | |
| 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 'include/Scintilla.iface')
| -rw-r--r-- | include/Scintilla.iface | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 5860944de..a2c905fb7 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1476,6 +1476,11 @@ set void SetFocus=2380(bool focus,) # Get internal focus flag. get bool GetFocus=2381(,) +enu Status=SC_STATUS_ +val SC_STATUS_OK=0 +val SC_STATUS_FAILURE=1 +val SC_STATUS_BADALLOC=2 + # Change error status - 0 = OK. set void SetStatus=2382(int statusCode,) # Get error status. |
