__parseInput(n)
var/inputError/E = __parser.parse(src, n)
if(!istype(E, /inputError) && __callback)
if(__callback_obj)
E = call(__callback_obj, __callback)(__target, __input, src)
else
E = call(__callback)(__target, __input, src)
if(!istype(E, /inputError))
if(__confirmQuestion && !__confirm)
if(!cmptextEx(__input,__confirmWith))
E = inputOps.getError(inputOps.ERROR_CONF) // this doesn't appear to be correct. should be:
E = inputOps.getError(src, inputOps.ERROR_CONF) // should be replaced with this
if(istype(E, /inputError))
__state = inputOps.STATE_ERROR
__error = E
else
__state = inputOps.STATE_DONE
I'd also like it if you would add a shortcut for /inputError/New(), where if only one argument is provided, it is set to the message rather than the trigger. I'd rather not have to supply null as the first argument when I'm creating "non-standard" errors. I do this a lot in the callbacks for some inputs.
So, we need a way to end the input from the callback itself.