From b3d1c9dd20616fc0e6276571a5bd7faa5141bcdd Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 29 Apr 2011 11:17:50 +1000 Subject: Draw SC_IV_LOOKBOTH indent guides on first line if it is empty. Bug #3291317. From Marko Njezic. --- src/Editor.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src') 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)); } -- cgit v1.2.3