     @deleteInDirectionWithGranularity("backward", "word")
 
   moveTextFromLocationRange: (locationRange) ->
-    @delegate?.compositionWillSetLocationRange?()
+    @notifyDelegateOfIntentionToSetLocationRange()
     position = @getPosition()
     @document.moveTextFromLocationRangeToPosition(locationRange, position)
     @setPosition(position)

      @insertText(text)

  deleteInDirectionWithGranularity: (direction, granularity) ->
    @delegate?.compositionWillSetLocationRange?()
    range = @getLocationRange()

    if range.isCollapsed()

  # Responder protocol

  insertText: (text, {updatePosition} = updatePosition: true) ->
    @notifyDelegateOfIntentionToSetLocationRange() if updatePosition

    range = @getLocationRange()
    @document.insertTextAtLocationRange(text, range)
