diff options
author | Neil <nyamatongwe@gmail.com> | 2015-09-23 09:33:21 +1000 |
---|---|---|
committer | Neil <nyamatongwe@gmail.com> | 2015-09-23 09:33:21 +1000 |
commit | a1104a01eb27a3ca87b1d04d75189c5ee40c7651 (patch) | |
tree | 2beb0d1376d40c574a568b8ebd49c9aa142925fb /src/Editor.cxx | |
parent | 7d38203480abda0f0a8a73f1c374ff91e38dda14 (diff) | |
download | scintilla-mirror-a1104a01eb27a3ca87b1d04d75189c5ee40c7651.tar.gz |
When SC_MARK_UNDERLINE if not assigned to a margin, stop drawing the whole line.
Optimise drawing of markers that appear in the text area.
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index 165bc9fc2..2a0ac420b 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -478,7 +478,7 @@ void Editor::Redraw() { } void Editor::RedrawSelMargin(int line, bool allAfter) { - const bool markersInText = vs.maskInLine != 0; + const bool markersInText = vs.maskInLine || vs.maskDrawInText; if (!wMargin.GetID() || markersInText) { // May affect text area so may need to abandon and retry if (AbandonPaint()) { return; |