aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/Editor.h
diff options
context:
space:
mode:
authornyamatongwe <unknown>2005-11-15 12:24:02 +0000
committernyamatongwe <unknown>2005-11-15 12:24:02 +0000
commitb4e2719fa215ec1f2ed4fd1ab57977096538adc4 (patch)
tree62b697f7bdd0aca303c3fc4175b2f1e79704eb00 /src/Editor.h
parent66168dadd629eb12f72169d95c98686a3b456fa5 (diff)
downloadscintilla-mirror-b4e2719fa215ec1f2ed4fd1ab57977096538adc4.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);