Frage

RichTextBox lags really hard (at least under Windows7 64 bit)- I found several topics on many programming boards, describing this exact problem, but no solution. There's even a bug report on this issue for the WPF team. Some people suggested that setting SpellCheck.IsEnabled to false may help, but in my case it didn't... So - are there any good alternatives for the RichTextBox control? I need to be able to highlight specific words in large amounts of text and do this dynamically (during user typing, changing text).

War es hilfreich?

Lösung

You can try AvalonEdit (http://avalonedit.net). Although it only supports text, it may be what you are looking for.

I have tried it and it is blazingly fast compared to the built-in WPF rich text box.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top