hunk.code_window:     prevProps.anchorPath = document.getPath(prevProps.anchorKey)
       delete prevProps.anchorKey
     }
     if (properties.focusKey) {
       properties.focusPath = document.getPath(properties.focusKey)
       delete properties.focusKey
     }
     if (prevProps.focusKey) {
       prevProps.focusPath = document.getPath(prevProps.focusKey)
  
hunk.labels: keep keep keep keep replace replace replace keep keep keep keep
hunk.after_edit:   if (props.focusKey) {
       props.focusPath = document.getPath(props.focusKey)
       delete props.focusKey
  
hunk.file_path: src/transforms/operations.js
hunk.type: replace
file: 
  import assert from 'assert'
  
  export default function (state) {
    const { document, selection } = state
    const texts = document.getTexts()
    const first = texts.first()
    const range = selection.merge({
      anchorKey: first.key,
      anchorOffset: 2,
      focusKey: first.key,
      focusOffset: 2
    })
  
    const next = state
      .transform()
      .moveTo(range)
      .splitBlock()
      .apply()
  
    const updated = next.document.getTexts().last()
  
    assert.deepEqual(
      next.selection.toJS(),
      range.collapseToStartOf(updated).toJS()
    )
  
    return next
  }
  