mirror of
https://github.com/microsoft/vscode.git
synced 2026-05-02 14:31:31 +01:00
files - respect editor.isReadonly() better
This commit is contained in:
@@ -484,7 +484,7 @@ export abstract class EditorInput extends Disposable implements IEditorInput {
|
||||
abstract resolve(): Promise<IEditorModel | null>;
|
||||
|
||||
isReadonly(): boolean {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
|
||||
isUntitled(): boolean {
|
||||
|
||||
Reference in New Issue
Block a user