| 93 | } |
| 94 | |
| 95 | void ContractionState::InsertLine(int lineDoc) { |
| 96 | if (OneToOne()) { |
| 97 | linesInDocument++; |
| 98 | } else { |
| 99 | visible->InsertSpace(lineDoc, 1); |
| 100 | visible->SetValueAt(lineDoc, 1); |
| 101 | expanded->InsertSpace(lineDoc, 1); |
| 102 | expanded->SetValueAt(lineDoc, 1); |
| 103 | heights->InsertSpace(lineDoc, 1); |
| 104 | heights->SetValueAt(lineDoc, 1); |
| 105 | int lineDisplay = DisplayFromDoc(lineDoc); |
| 106 | displayLines->InsertPartition(lineDoc, lineDisplay); |
| 107 | displayLines->InsertText(lineDoc, 1); |
| 108 | } |
| 109 | } |
| 110 | |
| 111 | void ContractionState::InsertLines(int lineDoc, int lineCount) { |
| 112 | for (int l = 0; l < lineCount; l++) { |
nothing calls this directly
no test coverage detected