(line, height)
| 7563 | // Update the height of a line, propagating the height change |
| 7564 | // upwards to parent nodes. |
| 7565 | function updateLineHeight(line, height) { |
| 7566 | var diff = height - line.height; |
| 7567 | if (diff) for (var n = line; n; n = n.parent) n.height += diff; |
| 7568 | } |
| 7569 | |
| 7570 | // Given a line object, find its line number by walking up through |
| 7571 | // its parent links. |
no outgoing calls
no test coverage detected