 
   getPointToSearchFrom: (selection, searchFrom) ->
     switch searchFrom
-      when 'head'
-        swrap(selection).getNormalizedBufferPosition()
-      when 'start'
-        swrap(selection).getBufferPositionFor('start')
+      when 'head' then swrap(selection).getNormalizedBufferPosition()
+      when 'start' then swrap(selection).getBufferPositionFor('start')
 
   # Allow override @allowForwarding by 2nd argument.
   getRange: (selection, options={}) ->

    pairInfo?.targetRange

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

# -------------------------
class AnyPair extends Pair

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

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

class ALatestChange extends LatestChange
  @extend()
