aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2002-07-05 12:55:53 +0000
committernyamatongwe <unknown>2002-07-05 12:55:53 +0000
commitd8d802c013a33d05bd808bca31e630f28fdc6742 (patch)
tree5c07315e77d10eb1c8f6056eb93b563c8f2c2618
parent5a6e5d853f6a304f68d3978aa855aaeda986ff01 (diff)
downloadscintilla-mirror-d8d802c013a33d05bd808bca31e630f28fdc6742.tar.gz
Documented the incorrect values of SCEN_SETFOCUS and SCEN_KILLFOCUS.
-rw-r--r--doc/ScintillaDoc.html3
-rw-r--r--include/Scintilla.iface4
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