Autocomplete, Apply like node or how add class?

Hi, a really good code editor which has a lot of ability.
How i can use apply as “info” or how i can add the class for using highlighting?
https://codemirror.net/6/docs/ref/#autocomplete.Completion.apply

You’re going to have to formulate your question a bit more precisely. I don’t understand it in its current form.

Actually, I did not understand my question too,
But working with Lezer helped to understand how to work with visualization / highlighting.
Because previously I tried to use “apply” as “info” from the interface Completion
( tried to use Node for adding class and styles )