From f8b46f3fb8a382ef23cb32505d196ff64861f6f8 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Thu, 16 Oct 2003 13:11:47 +0000 Subject: When lines are deleted, move up line heights. --- src/ContractionState.cxx | 1 + 1 file changed, 1 insertion(+) (limited to 'src') 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; -- cgit v1.2.3