diff options
author | nyamatongwe <nyamatongwe@gmail.com> | 2013-03-13 10:21:33 +1100 |
---|---|---|
committer | nyamatongwe <nyamatongwe@gmail.com> | 2013-03-13 10:21:33 +1100 |
commit | 695b55bd771de78c84878da2109d1a6dec02b90a (patch) | |
tree | f72cc4cd990ccafa8a489a4cebfe6fb5e508b57c /src | |
parent | 2acae4f8de386814202a03e1eed19babca83f1ff (diff) | |
download | scintilla-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.cxx | 2 | ||||
-rw-r--r-- | src/Editor.h | 2 |
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); |