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 /include/Scintilla.iface | |
| 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 '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. |
