
Hey,
Is there a way to insert a text (programmatically) into the editor and present it as a rich text format (or something similar) in order to display specific text in a specific format (colors, background, font, font style…), regardless of the language being used.
Like when using a REPL (read–eval–print loop) and printing a colorful output to the screen after a line was entered in a specific language.
Currently using language transitions and a made up language we are able to do a mock up: wrapping the text with textual symbols that mark a start and end of language’s states with a specific classification for the default token key (which is the text between those visible delimiters).
Thanks,
Tal