         @editor.on 'changeSelection', callback
         return
 
-    # onMove: (cursorEvent) ->
-    #     if @onMoveCallback != null
-    #         @onMoveCallback cursorEvent
-
     switchUp: ({currentRow, currentColumn}) ->
         maxRow = @editSession.getLength()
         if currentRow - 1 < @codePrefixLength or currentRow >= maxRow - @codeSuffixLength

            When the student code changes, run it through the
            interpreter to figure out commands remaining.
        ###
        if @scanTimer?
            window.clearTimeout @scanTimer
            @scanTimer = null
        @scanTimer = window.setTimeout @scan, 500
        if @onStudentCodeChangeCallback?
            @onStudentCodeChangeCallback changeData
        return

        if currentRow + 1 < @codePrefixLength or currentRow + 1 >= maxRow - (@codeSuffixLength - 1)
            return

        @commands[command]['usesRemaining']--
        printLine = (@createBlankFunctionHeader command) + ';'
        text.insertLines currentRow + 1, [printLine]

