   # @return char [Object] the deleted character at position
   delete: (position, length) ->
     char = @val position
-    # remove any selection over this character
-    delta =
-      action: "remove"
-      from: char
-      to: char
-    for selection in char.left
-      selection.pushDelta delta
-    # TODO: check that we do not apply twice the same delta
-    for selection in char.right
-      selection.pushDelta delta
 
     @_model.delete position, length
 

    object

  # Insert content at position
  # @param [Integer] position the position where to insert
  # @param [String] content the content to insert
  insert: (position, content) ->
    if content != null
      for char in content
        @_model.insert position, (@createChar char)

  # @override val (position)
  #   get the content at position

          action: "set"

        state.push deltaSelection
        return position + delta.retain
