(
tabId: UniqueId,
groupId: UniqueId
)
| 304 | }; |
| 305 | |
| 306 | public getTabById<T>( |
| 307 | tabId: UniqueId, |
| 308 | groupId: UniqueId |
| 309 | ): IEditorTab<T> | undefined { |
| 310 | const group = this.getGroupById(groupId); |
| 311 | if (group) { |
| 312 | return group.data?.find(searchById(tabId)); |
| 313 | } |
| 314 | return undefined; |
| 315 | } |
| 316 | |
| 317 | public get editorInstance() { |
| 318 | return this.state.current?.editorInstance; |
no test coverage detected