                         annotation.destroy()
             return @
         return marker
+        
     ###
     # Creates an entirely new code annotation.
     # Therefore, an asset is copied and the .names.cson is updated.

            originalText: editor.getTextInBufferRange(range).trim()
        }
        @subscriptions.add marker.onDidChange (event) =>
            console.log event
            properties = marker.getProperties()
            if event.textChanged
                currentRange = marker.getBufferRange()
                markerText = editor.getTextInBufferRange(currentRange).trim()
                annotation = properties.annotation
                if markerText.length > 0
                    console.log "#{currentRange}"
                    # non-whitespace text changes => custom invalidate
                    if properties.originalText isnt markerText
                        annotation.invalidate()


    _instantiateCodeAnnotation: (editorData, assetData) ->
        try
            annotation = new Annotation(@, editorData, assetData, @fallbackRenderer)
        catch error
            annotation = null
            atom.notifications.addError("Could not instantiate code annotation.", {
