Added a lexing delegate in the UI package, but currently not working.