   #
   # @param [Selection] s the selection to compare to this
   #
-  notEquals: (s) ->
-    not equals(s)
+  notEquals: (selection) ->
+    not @equals(selection)
 
   # Returns true if the given selection is in the current selection
   #

        break
      index += 1

if window?
  window.Rte = Rte
  window.Selection = Selection


    rte.removeSel leftSel

  # Unbind selection from word
  unbind: ->
    @left.removeSel(@, "left")
    @right.removeSel(@, "right")

    @left = null
    @right = null

# Class describing the Rich Text Editor type
#
