diff options
author | nyamatongwe <unknown> | 2002-07-05 12:55:53 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2002-07-05 12:55:53 +0000 |
commit | d8d802c013a33d05bd808bca31e630f28fdc6742 (patch) | |
tree | 5c07315e77d10eb1c8f6056eb93b563c8f2c2618 | |
parent | 5a6e5d853f6a304f68d3978aa855aaeda986ff01 (diff) | |
download | scintilla-mirror-d8d802c013a33d05bd808bca31e630f28fdc6742.tar.gz |
Documented the incorrect values of SCEN_SETFOCUS and SCEN_KILLFOCUS.
-rw-r--r-- | doc/ScintillaDoc.html | 3 | ||||
-rw-r--r-- | include/Scintilla.iface | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/ScintillaDoc.html b/doc/ScintillaDoc.html index 39cc14a34..966d0d4fb 100644 --- a/doc/ScintillaDoc.html +++ b/doc/ScintillaDoc.html @@ -1513,6 +1513,9 @@ SCEN_KILLFOCUS These notifications are sent using the WM_COMMAND message on Windows and the "Command" signal on GTK+ as this is the behaviour of the standard edit control. + The SET and KILL values are flipped over from the Windows edit + control and as clients depend on these constants, this will not be changed + to be compatible. </p> <pre> SCN_MODIFIED diff --git a/include/Scintilla.iface b/include/Scintilla.iface index c310da062..8a65463fe 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1334,7 +1334,9 @@ val SC_MOD_BEFOREDELETE=0x800 val SC_MODEVENTMASKALL=0xF77 # For compatibility, these go through the COMMAND notification rather than NOTIFY -# and have exactly the same values as the EN_* constants. +# and should have had exactly the same values as the EN_* constants. +# Unfortunately the SETFOCUS and KILLFOCUS are flipped over from EN_* +# As clients depend on these constants, this will not be changed. val SCEN_CHANGE=768 val SCEN_SETFOCUS=512 val SCEN_KILLFOCUS=256 |