(line, height)
| 925 | // Update the height of a line, propagating the height change |
| 926 | // upwards to parent nodes. |
| 927 | function updateLineHeight(line, height) { |
| 928 | var diff = height - line.height; |
| 929 | if (diff) { for (var n = line; n; n = n.parent) { n.height += diff; } } |
| 930 | } |
| 931 | |
| 932 | // Given a line object, find its line number by walking up through |
| 933 | // its parent links. |
no outgoing calls
no test coverage detected