(cm)
| 3318 | |
| 3319 | // Clear the view. |
| 3320 | function resetView(cm) { |
| 3321 | cm.display.viewFrom = cm.display.viewTo = cm.doc.first; |
| 3322 | cm.display.view = []; |
| 3323 | cm.display.viewOffset = 0; |
| 3324 | } |
| 3325 | |
| 3326 | // Find the view element corresponding to a given line. Return null |
| 3327 | // when the line isn't visible. |
no outgoing calls
no test coverage detected