(cm)
| 2101 | |
| 2102 | // Clear the view. |
| 2103 | function resetView(cm) { |
| 2104 | cm.display.viewFrom = cm.display.viewTo = cm.doc.first; |
| 2105 | cm.display.view = []; |
| 2106 | cm.display.viewOffset = 0; |
| 2107 | } |
| 2108 | |
| 2109 | // Find the view element corresponding to a given line. Return null |
| 2110 | // when the line isn't visible. |
no outgoing calls
no test coverage detected