   toJSON: ->
     @getSnapshot()
 
-  # --
+  # Document manipulation
 
   deleteInDirection: (direction) ->
     @composition.deleteInDirection(direction)

    if @canIncreaseIndentationLevel()
      @composition.increaseIndentationLevel()

  # --

  canRedo: ->
    @undoManager.canRedo()

  setSelectedRange: (selectedRange) ->
    @composition.setSelectedRange(selectedRange)

  # Current attributes

  getCurrentAttributes: ->
    @composition.getCurrentAttributes()
