aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2011-01-02 18:02:04 +1100
committernyamatongwe <devnull@localhost>2011-01-02 18:02:04 +1100
commitdca63476b59be3391d9dc7a1dd3d7384b553e70e (patch)
tree8ce083dd14b7d392bcdb55b01cd428be989c4a50 /src/Editor.h
parenta317b8d0d40cabfcf5cafb64a632a2c961bfb43c (diff)
downloadscintilla-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 'src/Editor.h')
-rw-r--r--src/Editor.h3
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);