Method
setGroupEditorValue
(group: IEditorGroup, value: string)
Source from the content-addressed store, hash-verified
| 391 | } |
| 392 | |
| 393 | public setGroupEditorValue(group: IEditorGroup, value: string) { |
| 394 | const model = group.editorInstance?.getModel(); |
| 395 | if (!model) return; |
| 396 | |
| 397 | const currentValue = model?.getValue(); |
| 398 | if (currentValue !== value) { |
| 399 | model?.setValue(value); |
| 400 | } |
| 401 | } |
| 402 | |
| 403 | public closeTab(tabId: UniqueId, groupId: UniqueId) { |
| 404 | const groupIndex = this.getGroupIndexById(groupId); |
Callers
nothing calls this directly
Tested by
no test coverage detected