Text highlighting inside a text editor

Dirollo.martin's icon

Hi everyone,

I'm making an external where I'm using a text editor. I'd like to know if it's possible to implement text highlighting for it, using a dictionary I'd define myself.
I know Max already knows how to do this, for example when editing javascript code, I was wondering if this feature was also inside the SDK (couldn't find anything like it though)

Anyone has a clue regarding this ?