(line)
| 4737 | // Read and store the height of line widgets associated with the |
| 4738 | // given line. |
| 4739 | function updateWidgetHeight(line) { |
| 4740 | if (line.widgets) { |
| 4741 | for (var i = 0; i < line.widgets.length; ++i) { |
| 4742 | var w = line.widgets[i], |
| 4743 | parent = w.node.parentNode |
| 4744 | if (parent) { |
| 4745 | w.height = parent.offsetHeight |
| 4746 | } |
| 4747 | } |
| 4748 | } |
| 4749 | } |
| 4750 | |
| 4751 | // Compute the lines that are visible in a given viewport (defaults |
| 4752 | // the the current scroll position). viewport may contain top, |
no outgoing calls
no test coverage detected