diff options
author | nyamatongwe <unknown> | 2003-10-16 13:11:47 +0000 |
---|---|---|
committer | nyamatongwe <unknown> | 2003-10-16 13:11:47 +0000 |
commit | f8b46f3fb8a382ef23cb32505d196ff64861f6f8 (patch) | |
tree | b361ec0141c504ba5022a8c6a5a018e7bdf3301a /src/ContractionState.cxx | |
parent | b68c7a7150f280302ed1146f357c631695ec4def (diff) | |
download | scintilla-mirror-f8b46f3fb8a382ef23cb32505d196ff64861f6f8.tar.gz |
When lines are deleted, move up line heights.
Diffstat (limited to 'src/ContractionState.cxx')
-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; |