(column, code)
| 523 | this.lineHeight = 0; |
| 524 | } |
| 525 | onEdited(column, code) { |
| 526 | var former = column.length; |
| 527 | var current = code.lineCount; |
| 528 | if (former < current) { |
| 529 | let dictionary = { height: Math.round(code.lineHeight) }; |
| 530 | while (former < current) { |
| 531 | column.add(LineNumber(former, dictionary)); |
| 532 | former++; |
| 533 | } |
| 534 | this.onBreakpointsChanged(column); |
| 535 | } |
| 536 | else if (former > current) { |
| 537 | column.empty(current); |
| 538 | } |
| 539 | } |
| 540 | onLineHeightChanged(column, lineHeight) { |
| 541 | if (this.lineHeight != lineHeight) { |
| 542 | this.lineHeight = lineHeight; |
no test coverage detected