 
             # if changed then modify text buffer
             if obj.content isnt obj.modifiedContent
-                # console.log "#{range} diff: #{diff} '#{obj.content}' '#{obj.modifiedContent}'"
                 @core.editor.setTextInBufferRange range , obj.modifiedContent
             return obj
 

            @core.editor.setCursorBufferPosition previousGoal

    give: -> @getCurrentGoal().done (goal) =>
            @warnCurrentGoalIfEmpty goal, 'Please type in the expression to give'
            @core.executable.give goal
        , @warnOutOfGoal


        , @warnOutOfGoal

    case: -> @getCurrentGoal().done (goal) =>
            @warnCurrentGoalIfEmpty goal, 'Nothing to make case'
            @core.executable.case goal
        , @warnOutOfGoal

