icsharpcode / AvalonEdit

The WPF-based text editor component used in SharpDevelop
http://avalonedit.net/
MIT License
1.85k stars 469 forks source link

Preformance hit when lines on screen are long #375

Open MarcellVokk opened 2 years ago

MarcellVokk commented 2 years ago

Hello. I've recently started using this editor in a project and have been loving it so far, however, I noticed that the performance of the editor (when scrolling) decreased dramatically when the lines on the screen were realy long (800+ chars). I don't know why this is exactly, but I think it is because the out-of-view parts of the line are still being drawn. It would be great if someone could look into this, even tough it is an edgecase scenario!

Thanks!

jimfoye commented 2 years ago

The horizontal scrolling? Or vertical? Or both?