(
editorInstance: MonacoEditor.IStandaloneCodeEditor
)
| 358 | } |
| 359 | |
| 360 | public updateEditorLineColumnInfo( |
| 361 | editorInstance: MonacoEditor.IStandaloneCodeEditor |
| 362 | ) { |
| 363 | if (editorInstance) { |
| 364 | const position = editorInstance.getPosition(); |
| 365 | |
| 366 | const { STATUS_EDITOR_INFO } = this.builtinService.getModules(); |
| 367 | if (STATUS_EDITOR_INFO) { |
| 368 | this.statusBarService.update( |
| 369 | Object.assign(STATUS_EDITOR_INFO, { |
| 370 | data: { |
| 371 | ln: position?.lineNumber, |
| 372 | col: position?.column, |
| 373 | }, |
| 374 | }) |
| 375 | ); |
| 376 | } |
| 377 | } |
| 378 | } |
| 379 | |
| 380 | public onEditorInstanceMount( |
| 381 | editorInstance: MonacoEditor.IStandaloneCodeEditor |
no test coverage detected