diff options
Diffstat (limited to 'src/vs/workbench/browser/parts/editor/editorWithViewState.ts')
-rw-r--r-- | src/vs/workbench/browser/parts/editor/editorWithViewState.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/vs/workbench/browser/parts/editor/editorWithViewState.ts b/src/vs/workbench/browser/parts/editor/editorWithViewState.ts index b24848b51f9..f01bedd8f59 100644 --- a/src/vs/workbench/browser/parts/editor/editorWithViewState.ts +++ b/src/vs/workbench/browser/parts/editor/editorWithViewState.ts @@ -208,7 +208,9 @@ export abstract class AbstractEditorWithViewState<T extends object> extends Edit * * @param resource the expected `URI` for the view state. This * should be used as a way to ensure the view state in the - * editor control is matching the resource expected. + * editor control is matching the resource expected, for example + * by comparing with the underlying model (this was a fix for + * https://github.com/microsoft/vscode/issues/40114). */ protected abstract computeEditorViewState(resource: URI): T | undefined; |