icsharpcode/AvalonEdit

duration of TextChange in a rectangular selection

Opened this issue · 5 comments

hello, can anyone tell me how I can speed up multi-line editing? if I make a rectangular selection with 100 rows and only 1 column and I press for example space it takes 2 to 3 seconds before the text changes, is there any way to speed it up?

Is this related? #58

Is this related? #58

yes but the solution not work or not implemented

Yes this is the same issue. My solution works fine, I've had this in a local branch for years. I didn't have time to delve into the issues with the pull request when I made it, and then it worked so I never bothered following up there... Happy to look at an official solution that can be merged in so that I don't have to maintain my own local code anymore.

how did you fix it if i can? I can not understand

EDIT: I've seen your solution, but I've also seen that it's not included in the project yet

I solved it without modifying avalonedit , I'll leave it here if it should be useful to anyone

https://pastebin.com/raw/upbg5JyG