diff options
author | nyamatongwe <unknown> | 2011-04-29 11:17:50 +1000 |
---|---|---|
committer | nyamatongwe <unknown> | 2011-04-29 11:17:50 +1000 |
commit | 0ae4049da9517830c556a57b196d0213d4a46bf5 (patch) | |
tree | 6cc1e0b1c57d6f09e3f4cd4c464b2f15a77988b6 | |
parent | 2feb7b2c746916dfa99f24a521def6f42a0713ff (diff) | |
download | scintilla-mirror-0ae4049da9517830c556a57b196d0213d4a46bf5.tar.gz |
Draw SC_IV_LOOKBOTH indent guides on first line if it is empty. Bug #3291317.
From Marko Njezic.
-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)); } |