       switch event.name
         when "cursors"
           id = event.object.author
-          index = @characters.indexOf event.object.char
+          index = (@get "characters").indexOf event.object.char
           text = event.object.author
           color = "grey" # FIXME
 
           if event.type == "update" or event.type == "add"
             @editor.cursors.setCursor id, index, text, color
 
-
         when "characters"
-          charPos = @characters.indexOf event.object
+          charPos = (@get "characters").indexOf event.object
           delta = {ops: [{retain: charPos}]}
           del = {delete: 1}
           ins = {insert: event.object.char, attributes: event.object.attributes}


  setCursor: () ->
    if @editor.getSelection()
      position = @characters.val @editor.getSelection().start
    else
      position = @characters.val 0

    selfCursor =
      author: @author

            ]}
            @editor.setContents delta
          else if event.type == "delete"
            #FIXME: depending on how it is implemented, selections can be overriden by negating
            #their values (set them to null) or the can just be deleted, let's see then…
            console.log "Ohow… what am I supposed to do there?"
