   @extend(false)
   @description: "Range surrounded by auto-detected paired chars from enclosed and forwarding area"
   allowForwarding: true
-  skipEmptyPair: false
   searchFrom: 'start'
   getRange: (selection) ->
     ranges = @getRanges(selection)


    innerRange = new Range(innerStart, innerEnd)
    targetRange = if @isInner() then innerRange else aRange
    if @skipEmptyPair and innerRange.isEmpty()
      @getPairInfo(aRange.end)
    else
      {openRange, closeRange, aRange, innerRange, targetRange}

  getPointToSearchFrom: (selection, searchFrom) ->
    switch searchFrom

  getPairInfo: (from) ->
    pairInfo = null
    pattern = @getPattern()
    closeRange = @findClose(from, pattern)
    openRange = @findOpen(closeRange.end, pattern) if closeRange?

    unless (openRange? and closeRange?)
      return null
