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 /src/Editor.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 'src/Editor.h')
-rw-r--r-- | src/Editor.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Editor.h b/src/Editor.h index 288addee0..a618e1e40 100644 --- a/src/Editor.h +++ b/src/Editor.h @@ -208,7 +208,7 @@ protected: // ScintillaBase subclass needs access to much of Editor int posTopLine; int lengthForEncode; - bool needUpdateUI; + int needUpdateUI; Position braces[2]; int bracesMatchStyle; int highlightGuideColumn; @@ -438,6 +438,7 @@ protected: // ScintillaBase subclass needs access to much of Editor void NotifyErrorOccurred(Document *doc, void *userData, int status); void NotifyMacroRecord(unsigned int iMessage, uptr_t wParam, sptr_t lParam); + void ContainerNeedsUpdate(int flags); void PageMove(int direction, Selection::selTypes sel=Selection::noSel, bool stuttered = false); enum { cmSame, cmUpper, cmLower } caseMap; virtual std::string CaseMapString(const std::string &s, int caseMapping); |