#53 SCEN_KILL/SETFOCUS consts inverted

Bug
closed-wont-fix
Neil Hodgson
Scintilla (788)
3
2002-07-05
2002-07-04
Anonymous
No

From Scintilla.iface:

# For compatibility, these go through the COMMAND
notification rather than NOTIFY
# and have exactly the same values as the EN_*
constants.
val SCEN_CHANGE=768
val SCEN_SETFOCUS=512
val SCEN_KILLFOCUS=256

But from winuser.h:

#define EN_SETFOCUS 0x0100
#define EN_KILLFOCUS 0x0200

i.e. SCEN_SETFOCUS == EN_KILLFOCUS and
SCEN_KILLFOCUS == EN_SETFOCUS.

Discussion

  • Neil Hodgson
    Neil Hodgson
    2002-07-05

    • priority: 5 --> 3
    • assigned_to: nobody --> nyamatongwe
    • status: open --> closed-wont-fix
     
  • Neil Hodgson
    Neil Hodgson
    2002-07-05

    Logged In: YES
    user_id=12579

    You are correct. Unfortunately, containers will have been
    compiled with the current values so changing will break these
    application. Documented the problem in Scintilla.iface and
    ScintillaDoc.html files.