 
 class PersistentSelection extends TextObject
   @extend(false)
+  wise: null
 
   select: ->
     {persistentSelection} = @vimState
     unless persistentSelection.isEmpty()
+      persistentSelection.setSelectedBufferRanges()
       @selectSucceeded = true
-      persistentSelection.setSelectedBufferRanges()
       @wise = swrap.detectWise(@editor)
 class APersistentSelection extends PersistentSelection
   @extend()

# Section: Other
# =========================
class CurrentLine extends TextObject
  wise: 'characterwise'
  @extend(false)
  getRange: (selection) ->
    row = @getNormalizedHeadBufferPosition(selection).row


class TextObject extends Base
  @extend(false)
  wise: 'characterwise'
  supportCount: false # FIXME #472, #66

  constructor: ->
