Added searchWhole function in parser
Added undo function in parser