Bug 1027670 - Add IME that handle LaTeX

> Have you considered checking textBeforeCursor first to see if you are inside something matching the start of a command / environment, then looking for the closing character?

Yes. I was thinking about when you have one command inside another one, e.g. `\underset{}{\overset{}{}}`, and I would like that the cursor also jump inside the command.