How do i use lexer?

So I’m trying to make my textbox have syntax highlighting, but I have no idea how to use the lexer module. Please help.

1 Like