From dca63476b59be3391d9dc7a1dd3d7384b553e70e Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Sun, 2 Jan 2011 18:02:04 +1100 Subject: 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. --- src/Editor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/Editor.h') 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); -- cgit v1.2.3