code: function _restoreEditorViewState(editor) {
          // We want to ignore the current state of the editor, so don't call __getViewState()
          var viewState = ViewStateManager.getViewState(editor.document.file);
          if (viewState) {
              editor.restoreViewState(viewState);
          }
      }
docs: Updates _viewStateCache from the given editor's actual current state
  @param {!Editor} editor - editor restore cached data
  @private