diff options
Diffstat (limited to 'src/Editor.cxx')
-rw-r--r-- | src/Editor.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Editor.cxx b/src/Editor.cxx index ce606ee00..02283599c 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -380,7 +380,7 @@ Editor::Editor() { wrapWidth = LineLayout::wrapWidthInfinite; docLineLastWrapped = -1; docLastLineToWrap = -1; - backgroundWrapEnabled = true; + backgroundWrapEnabled = false; hsStart = -1; hsEnd = -1; @@ -1466,6 +1466,7 @@ bool Editor::WrapLines(bool fullWrap, int priorityWrapLineStart) { wrapWidth = rcTextArea.Width(); // Ensure all of the document is styled. pdoc->EnsureStyledTo(pdoc->Length()); + RefreshStyleData(); AutoSurface surface(this); if (surface) { bool priorityWrap = false; |