     pairInfo?.targetRange
 
   selectTextObject: (selection) ->
-    swrap(selection).setBufferRangeSafely @getRange(selection)
+    swrap(selection).setBufferRangeSafely(@getRange(selection))
 
 # -------------------------
 class AnyPair extends Pair

    @vimState.mark.getRange('[', ']')

  selectTextObject: (selection) ->
    swrap(selection).setBufferRangeSafely @getRange()

class ALatestChange extends LatestChange
  @extend()


  getPointToSearchFrom: (selection, searchFrom) ->
    switch searchFrom
      when 'head' then swrap(selection).getNormalizedBufferPosition()
      when 'start' then swrap(selection).getBufferPositionFor('start')

  # Allow override @allowForwarding by 2nd argument.
  getRange: (selection, options={}) ->
