     @startPos.gt = @endPos.gt = (s) ->
       @word > s.word or (@word == s.word and @pos >= s.pos)
 
-  relativeFromAbsolute: (untilStart, untilEnd, rte)->
+  # Convert indexes from beginning of text to coordinates expressed in word and
+  # position within word
+  #
+  # @param [Integer] untilStart index from first character
+  # @param [Integer] untilEnd index from first character
+  # @param [Rte] rte a rich text editor instance
+  _relativeFromAbsolute: (untilStart, untilEnd, rte)->
     # Convert absolute coordinates to relatives
     spw = spp = epw = epp = 0
 

      @_rte.words = before.concat(@getWords(end))
    @_rte.words

  merge: (n) ->
    if 0 <= n < @_rte.words.length
      w = @getWord(n).trimRight()


    [{word: spw, pos: spp}, {word: epw, pos: epp}]

  # Compares the bounds of two selections
  #
  # @param [Selection] s the selection to compare to this
  #
