From 695b55bd771de78c84878da2109d1a6dec02b90a Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Wed, 13 Mar 2013 10:21:33 +1100 Subject: Implement high-priority idle work on Cocoa to avoid abandoning paints in some situations. Rename IdleStyling to IdleWork. --- src/Editor.cxx | 2 +- src/Editor.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'src') 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); -- cgit v1.2.3