(line, height)
| 7826 | // Update the height of a line, propagating the height change |
| 7827 | // upwards to parent nodes. |
| 7828 | function updateLineHeight(line, height) { |
| 7829 | var diff = height - line.height; |
| 7830 | if (diff) for (var n = line; n; n = n.parent) n.height += diff; |
| 7831 | } |
| 7832 | |
| 7833 | // Given a line object, find its line number by walking up through |
| 7834 | // its parent links. |
no outgoing calls
no test coverage detected