import { Command } from '../util/commandManager' ; import { RSTPreviewManager } from '../preview/previewManager' ; export class ToggleLockCommand implements Command { public readonly id = 'restructuredtext.preview.toggleLock' ; public constructor ( private readonly previewManager ) { } public execute ( ) { this . previewManager . toggleLock ( ) ; } }