(line, height)
| 6511 | // Update the height of a line, propagating the height change |
| 6512 | // upwards to parent nodes. |
| 6513 | function updateLineHeight(line, height) { |
| 6514 | var diff = height - line.height; |
| 6515 | if (diff) for (var n = line; n; n = n.parent) n.height += diff; |
| 6516 | } |
| 6517 | |
| 6518 | // Given a line object, find its line number by walking up through |
| 6519 | // its parent links. |
no outgoing calls
no test coverage detected
searching dependent graphs…