| 116 | } |
| 117 | |
| 118 | void ContractionState::DeleteLine(int lineDoc) { |
| 119 | if (OneToOne()) { |
| 120 | linesInDocument--; |
| 121 | } else { |
| 122 | if (GetVisible(lineDoc)) { |
| 123 | displayLines->InsertText(lineDoc, -heights->ValueAt(lineDoc)); |
| 124 | } |
| 125 | displayLines->RemovePartition(lineDoc); |
| 126 | visible->DeleteRange(lineDoc, 1); |
| 127 | expanded->DeleteRange(lineDoc, 1); |
| 128 | heights->DeleteRange(lineDoc, 1); |
| 129 | } |
| 130 | } |
| 131 | |
| 132 | void ContractionState::DeleteLines(int lineDoc, int lineCount) { |
| 133 | for (int l = 0; l < lineCount; l++) { |
nothing calls this directly
no test coverage detected