diff options
author | nyamatongwe <devnull@localhost> | 2011-04-29 11:17:50 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-04-29 11:17:50 +1000 |
commit | b3d1c9dd20616fc0e6276571a5bd7faa5141bcdd (patch) | |
tree | 7d1fbd6edab9756ca2edea178c4af962aeeddabb /src | |
parent | f9dbc2b9f6bc8f0676da7493aed0d43ee2ed466b (diff) | |
download | scintilla-mirror-b3d1c9dd20616fc0e6276571a5bd7faa5141bcdd.tar.gz |
Draw SC_IV_LOOKBOTH indent guides on first line if it is empty. Bug #3291317.
From Marko Njezic.
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)); } |