diff options
Diffstat (limited to 'src')
-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 afeffc86f..8e61106c7 100644 --- a/src/Editor.cxx +++ b/src/Editor.cxx @@ -3050,7 +3050,8 @@ void Editor::DrawLine(Surface *surface, ViewStyle &vsDraw, int line, int lineVis lineNextWithText++; } if (lineNextWithText > line) { - // This line is empty, so use indentation of last line with text + xStartText = 100000; // Don't limit to visible indentation on empty line + // This line is empty, so use indentation of first next line with text indentSpace = Platform::Maximum(indentSpace, pdoc->GetLineIndentation(lineNextWithText)); } |