diff options
-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 |