Scrolls the given element into view. pos is a { line , ch } position, referring to a given character, null, to refer to the cursor. The margin parameter is optional. When given, it indicates the amount of pixels around the given area that should be made visible as well.
(pos: CodeMirror.Position, margin?: number)
| 225 | /** Scrolls the given element into view. pos is a { line , ch } position, referring to a given character, null, to refer to the cursor. |
| 226 | The margin parameter is optional. When given, it indicates the amount of pixels around the given area that should be made visible as well. */ |
| 227 | scrollIntoView(pos: CodeMirror.Position, margin?: number): void; |
| 228 | |
| 229 | /** Scrolls the given element into view. pos is a { left , top , right , bottom } object, in editor-local coordinates. |
| 230 | The margin parameter is optional. When given, it indicates the amount of pixels around the given area that should be made visible as well. */ |
no outgoing calls
no test coverage detected