hunk.code_window:     const native = window.getSelection()
       const { anchorNode, anchorOffset } = native
       const point = this.getPoint(anchorNode, anchorOffset)
       const { key, index, start, end } = point
       // Get the range in question.
  
hunk.labels: keep keep keep replace keep keep
hunk.after_edit:     if (!point) return
  
hunk.file_path: src/components/content.js
hunk.type: replace
file: 
  export default function (state) {
    const { document, selection } = state
    const texts = document.getTexts()
    const second = texts.get(1)
    const range = selection.merge({
      anchorKey: second.key,
      anchorOffset: second.length,
      focusKey: second.key,
      focusOffset: second.length
    })
  
    return state
      .transform()
      .deleteBackwardAtRange(range)
      .apply()
  }
  