diff options
author | nyamatongwe <devnull@localhost> | 2003-10-16 13:11:47 +0000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2003-10-16 13:11:47 +0000 |
commit | e5bc157729ba7d4ea645f00eefb585bc09350581 (patch) | |
tree | b361ec0141c504ba5022a8c6a5a018e7bdf3301a /src | |
parent | c1c88915e2d6cc6bb47ba2e72db8c186b8215df7 (diff) | |
download | scintilla-mirror-e5bc157729ba7d4ea645f00eefb585bc09350581.tar.gz |
When lines are deleted, move up line heights.
Diffstat (limited to 'src')
-rw-r--r-- | src/ContractionState.cxx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ContractionState.cxx b/src/ContractionState.cxx index 5b36b2cad..8833b07bc 100644 --- a/src/ContractionState.cxx +++ b/src/ContractionState.cxx @@ -175,6 +175,7 @@ void ContractionState::DeleteLines(int lineDoc, int lineCount) { if (i != 0) // Line zero is always visible lines[i].visible = lines[i + lineCount].visible; lines[i].expanded = lines[i + lineCount].expanded; + lines[i].height = lines[i + lineCount].height; } linesInDoc -= lineCount; linesInDisplay += deltaDisplayed; |