From 5068b02e1f2ef2c0e05063498b01fb36d4f4a57c Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 26 Jul 2007 07:28:36 +0000 Subject: Added notification for changing line state and use it to redraw if a line state change overruns the end of painting. --- include/Scintilla.h | 3 ++- include/Scintilla.iface | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/Scintilla.h b/include/Scintilla.h index 816edb36f..144402ba6 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -694,7 +694,8 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SC_MULTILINEUNDOREDO 0x1000 #define SC_STARTACTION 0x2000 #define SC_MOD_CHANGEINDICATOR 0x4000 -#define SC_MODEVENTMASKALL 0x6FFF +#define SC_MOD_CHANGELINESTATE 0x8000 +#define SC_MODEVENTMASKALL 0xFFFF #define SCEN_CHANGE 768 #define SCEN_SETFOCUS 512 #define SCEN_KILLFOCUS 256 diff --git a/include/Scintilla.iface b/include/Scintilla.iface index 8e2910cb9..fde3335fe 100644 --- a/include/Scintilla.iface +++ b/include/Scintilla.iface @@ -1857,7 +1857,8 @@ val SC_MOD_BEFOREDELETE=0x800 val SC_MULTILINEUNDOREDO=0x1000 val SC_STARTACTION=0x2000 val SC_MOD_CHANGEINDICATOR=0x4000 -val SC_MODEVENTMASKALL=0x6FFF +val SC_MOD_CHANGELINESTATE=0x8000 +val SC_MODEVENTMASKALL=0xFFFF # For compatibility, these go through the COMMAND notification rather than NOTIFY # and should have had exactly the same values as the EN_* constants. -- cgit v1.2.3