src/vs/editor/contrib/editorState/browser/editorState.ts/EditorState/validate
class EditorState:	public validate(editor: ICodeEditor): boolean {
		return this._equals(new EditorState(editor, this.flags));
	}