aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <devnull@localhost>2005-11-15 12:24:02 +0000
committernyamatongwe <devnull@localhost>2005-11-15 12:24:02 +0000
commit404af7cd6d220337b168f247ac7d912230146ce5 (patch)
tree62b697f7bdd0aca303c3fc4175b2f1e79704eb00 /src/Editor.h
parente7b70fc3b78f0494f9d63aee2e7641bb068b8b91 (diff)
downloadscintilla-mirror-404af7cd6d220337b168f247ac7d912230146ce5.tar.gz
Check whether area is being painted against the update region,
not just the bounding box of this region. This ensures that a need to abandon a paint when a restyle affects text outside the area being painted.
Diffstat (limited to 'src/Editor.h')
-rw-r--r--src/Editor.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Editor.h b/src/Editor.h
index 0ac6ec917..1207425dd 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -504,6 +504,8 @@ protected: // ScintillaBase subclass needs access to much of Editor
virtual bool HaveMouseCapture() = 0;
void SetFocusState(bool focusState);
+ virtual bool PaintContains(PRectangle rc);
+ bool PaintContainsMargin();
void CheckForChangeOutsidePaint(Range r);
int BraceMatch(int position, int maxReStyle);
void SetBraceHighlight(Position pos0, Position pos1, int matchStyle);