       @setLocationRange({index, offset})
 
   insertPlaceholderBlock: ->
-    @delegate?.compositionWillSetLocationRange?()
+    @notifyDelegateOfIntentionToSetLocationRange()
     range = @getLocationRange()
     document = new Trix.Document [Trix.Block.createPlaceholder()]
     @insertDocument(document)
     @setLocationRange(index: range.end.index + 1, offset: 0)
 
   insertDocument: (document) ->
-    @delegate?.compositionWillSetLocationRange?()
+    @notifyDelegateOfIntentionToSetLocationRange()
     range = @getLocationRange()
     @document.insertDocumentAtLocationRange(document, range)
 

  # Responder protocol

  insertText: (text, {updatePosition} = updatePosition: true) ->
    @delegate?.compositionWillSetLocationRange?() if updatePosition

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

      @insertText(text)

  deleteInDirectionWithGranularity: (direction, granularity) ->
    @notifyDelegateOfIntentionToSetLocationRange()
    range = @getLocationRange()

    if range.isCollapsed()
