I have a TextArea that I am using as the main output window for a MUD (Multi-User Dungeon). I wrote a parser to handle ANSI Colors and turn them into html formatted text. Everything is working great, however, once the TextArea has a lot of formatted text in it, everything becomes very sluggish. If I clear the TextArea, everything goes back to normal. So my question is, is there a better way to handle a lot of formatted text so that the program wont become sluggish?
Virtualize how much text you display. That's why DataGrid and List don't
make a renderer for non-visible rows.