diff options
author | nyamatongwe <devnull@localhost> | 2011-01-02 18:02:04 +1100 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-01-02 18:02:04 +1100 |
commit | dca63476b59be3391d9dc7a1dd3d7384b553e70e (patch) | |
tree | 8ce083dd14b7d392bcdb55b01cd428be989c4a50 /include/Scintilla.h | |
parent | a317b8d0d40cabfcf5cafb64a632a2c961bfb43c (diff) | |
download | scintilla-mirror-dca63476b59be3391d9dc7a1dd3d7384b553e70e.tar.gz |
Send SCN_UPDATEUI notification when view scrolled. Satisfies feature request #3125977.
Also includes an updated field in notification so that updates of no interest can be
easily ignored.
Diffstat (limited to 'include/Scintilla.h')
-rw-r--r-- | include/Scintilla.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/Scintilla.h b/include/Scintilla.h index 0e1159b53..c0bb32332 100644 --- a/include/Scintilla.h +++ b/include/Scintilla.h @@ -832,6 +832,10 @@ typedef sptr_t (*SciFnDirect)(sptr_t ptr, unsigned int iMessage, uptr_t wParam, #define SC_MOD_CONTAINER 0x40000 #define SC_MOD_LEXERSTATE 0x80000 #define SC_MODEVENTMASKALL 0xFFFFF +#define SC_UPDATE_CONTENT 0x1 +#define SC_UPDATE_SELECTION 0x2 +#define SC_UPDATE_V_SCROLL 0x4 +#define SC_UPDATE_H_SCROLL 0x8 #define SCEN_CHANGE 768 #define SCEN_SETFOCUS 512 #define SCEN_KILLFOCUS 256 @@ -971,6 +975,7 @@ struct SCNotification { int y; /* SCN_DWELLSTART, SCN_DWELLEND */ int token; /* SCN_MODIFIED with SC_MOD_CONTAINER */ int annotationLinesAdded; /* SC_MOD_CHANGEANNOTATION */ + int updated; /* SCN_UPDATEUI */ }; #ifdef SCI_NAMESPACE |