   splitArguments
   traverseTextFromPoint
 } = require './utils'
-{BracketFinder, QuoteFinder, TagFinder} = require './pair-finder.coffee'
+PairFinder = null
 
 class TextObject extends Base
   @extend(false)

  getFinder: ->
    options = {allowNextLine: @isAllowNextLine(), @allowForwarding, @pair, @inclusive}
    if @pair[0] is @pair[1]
      new QuoteFinder(@editor, options)
    else
      new BracketFinder(@editor, options)

  getPairInfo: (from) ->
    pairInfo = @getFinder().find(from)


  getTagStartPoint: (from) ->
    tagRange = null
    pattern = PairFinder.TagFinder::pattern
    @scanForward pattern, {from: [from.row, 0]}, ({range, stop}) ->
      if range.containsPoint(from, true)
        tagRange = range
