diff options
author | nyamatongwe <unknown> | 2011-01-02 18:02:04 +1100 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-01-02 18:02:04 +1100 |
commit | c11b33236bcd09928bce17eaef11951a77a84abe (patch) | |
tree | 4eeeda4fd565f6b42a5b79d72a2c6d47ac6e9768 /include/Scintilla.h | |
parent | 2be32592356710eda9419a86da5d85e36a1c8cda (diff) | |
download | scintilla-mirror-c11b33236bcd09928bce17eaef11951a77a84abe.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 |