   #
   deleteSel: (selection) ->
     if not selection.isValid()
-      console.log selection
       throw new Error "Invalid selection, got", selection
 
     left = selection.left

      leftPos = selection.leftPos
      right = selection.right
      rightPos = selection.rightPos
    else if selection.in @ # remove selection
      selToRemove = selection
      selToKeep = @


    # if they have two styles that differ
    for key, val of @style
      if not selection.style.hasOwnProperty(key)
        return
    for key, val of selection.style
      if not @style.hasOwnProperty(key)
        return

    if @atLeftOf selection # remove @
