aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authornyamatongwe <nyamatongwe@gmail.com>2013-03-13 10:21:33 +1100
committernyamatongwe <nyamatongwe@gmail.com>2013-03-13 10:21:33 +1100
commit695b55bd771de78c84878da2109d1a6dec02b90a (patch)
treef72cc4cd990ccafa8a489a4cebfe6fb5e508b57c /src
parent2acae4f8de386814202a03e1eed19babca83f1ff (diff)
downloadscintilla-mirror-695b55bd771de78c84878da2109d1a6dec02b90a.tar.gz
Implement high-priority idle work on Cocoa to avoid abandoning paints in some situations.
Rename IdleStyling to IdleWork.
Diffstat (limited to 'src')
-rw-r--r--src/Editor.cxx2
-rw-r--r--src/Editor.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx
index f2a6a1f62..740162faa 100644
--- a/src/Editor.cxx
+++ b/src/Editor.cxx
@@ -6714,7 +6714,7 @@ void Editor::StyleToPositionInView(Position pos) {
}
}
-void Editor::IdleStyling() {
+void Editor::IdleWork() {
// Style the line after the modification as this allows modifications that change just the
// line of the modification to heal instead of propagating to the rest of the window.
if (workNeeded.items & WorkNeeded::workStyle)
diff --git a/src/Editor.h b/src/Editor.h
index bc7babb13..bf3e26d92 100644
--- a/src/Editor.h
+++ b/src/Editor.h
@@ -540,7 +540,7 @@ protected: // ScintillaBase subclass needs access to much of Editor
int PositionAfterArea(PRectangle rcArea);
void StyleToPositionInView(Position pos);
- void IdleStyling();
+ virtual void IdleWork();
virtual void QueueIdleWork(WorkNeeded::workItems items, int upTo=0);
virtual bool PaintContains(PRectangle rc);