"use strict";

Object.defineProperty(exports, "__esModule", {
  value: true
});
exports.setAllSelection = setAllSelection;
var _state = require("@atlaskit/editor-prosemirror/state");
function setAllSelection(view) {
  var state = view.state,
    dispatch = view.dispatch;
  var tr = state.tr.setSelection(new _state.AllSelection(view.state.doc));
  dispatch(tr);
}