added a callback to lex()
dont fully lex the editor since only module name is interesting