hunk.code_window:     if (element === content.ref.current) {
         return PathUtils.create([])
       }
       const search = (instance, p) => {
  
hunk.labels: keep replace keep keep keep keep
hunk.after_edit:     // If element does not have a key, it is likely a string or
       // mark, return the closest parent Node that can be looked up.
       if (!nodeElement.hasAttribute(DATA_ATTRS.KEY)) {
         nodeElement = nodeElement.closest(SELECTORS.KEY)
       }
       if (!nodeElement || !nodeElement.getAttribute(DATA_ATTRS.KEY)) {
         return null
       }
       if (nodeElement === content.ref.current) {
  
hunk.file_path: packages/slate-react/src/plugins/react/queries.js
hunk.type: replace
file: import Point from '../../../../src/models/point'
  import Range from '../../../../src/models/range'
  
  export const input = {
    point: Point.create({
      key: 'a',
      path: [4],
      offset: 1,
    }),
    target: Range.create({
      anchor: {
        key: 'b',
        path: [1],
        offset: 0,
      },
      focus: {
        key: 'c',
        path: [5],
        offset: 3,
      },
    }),
  }
  
  export default function({ point, target }) {
    return point.isBeforeRange(target)
  }
  
  export const output = false
  