         if @scanTextID
             window.clearTimeout @scanTextID
             delete @scanTextID
-        @scanTextID = window.setTimeout @scanTextCallback.bind(@), 1500
+        @scanTextID = window.setTimeout @scanTextCallback.bind(@), 750
         return true
 
     scanTextCallback: ->


            if result == null
                text = text.substring 1
                alert "Unrecognized"
            else
                text = text.substring result[0].length
        return

    processMatch: (command, innerText) ->
        alert "Inner Process: \n#{innerText}"
        if typeof innerText == "undefined" or innerText == null or innerText == ""
            return
        while innerText != ""
            for command of @commands
                result = @commands[command]['regex'].exec innerText
                if result != null
                    @commands[command]['usesRemaining']--
                    alert "Found: \n#{result[0]}"
                    @processMatch command, result[1]
                    break


        @editor.setTheme "ace/theme/chrome"
        @editSession.setMode "ace/mode/java"

        @buildNeededParsers()
        @resetState()
        @editor.focus()

