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 | 3ee697fc002bd2ac942ce40b32e317f431974b46 (patch) | |
| tree | a65eb47622ac39953c58f937f291f3bb3830df1f /src | |
| parent | 12e6f6374e791c61e778994475d224054aa01520 (diff) | |
| download | scintilla-mirror-3ee697fc002bd2ac942ce40b32e317f431974b46.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); | 
