diff options
| author | Neil <nyamatongwe@gmail.com> | 2021-08-23 17:27:16 +1000 | 
|---|---|---|
| committer | Neil <nyamatongwe@gmail.com> | 2021-08-23 17:27:16 +1000 | 
| commit | 3ef8c4b037c622f910a0d13bba91657df1f78d9d (patch) | |
| tree | 1a0290d796a2ec06085d8b2aaae68035bfe0876d /src/Editor.cxx | |
| parent | afbd611bed7f27d0790fc19b18318e3ef213dfd8 (diff) | |
| download | scintilla-mirror-3ef8c4b037c622f910a0d13bba91657df1f78d9d.tar.gz | |
Fix change set 8902 which could cause caret to stop blinking.
Occurred when a redraw was requested during a paint.
Diffstat (limited to 'src/Editor.cxx')
| -rw-r--r-- | src/Editor.cxx | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/src/Editor.cxx b/src/Editor.cxx index fcd94763c..b4031c8f1 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -485,11 +485,11 @@ void Editor::Redraw() {  	//Platform::DebugPrintf("Redraw all\n");  	const PRectangle rcClient = GetClientRectangle();  	wMain.InvalidateRectangle(rcClient); -	if (wMargin.GetID()) +	if (wMargin.GetID()) {  		wMargin.InvalidateAll(); -	else +	} else if (paintState == PaintState::notPainting) {  		redrawPendingText = true; -	//wMain.InvalidateAll(); +	}  }  void Editor::RedrawSelMargin(Sci::Line line, bool allAfter) { | 
