-
-
Notifications
You must be signed in to change notification settings - Fork 136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve Highlight Speed #103
Comments
Use CustomBackGround Block for this ... is more suited for this task.
|
It's still quite slow when working with lots of highlights in files. Lots of slowdown too when scrolling highlighted data. |
Are you using CBB ? Or highlight ? |
Are you tested the ByteFileDiference sample ? |
I haven't tried that sample yet. I just used your solution above, but put it in a loop that adds several highlights (maybe in the thousands), and it's very slow on my PC. It hangs at hexedit.RefreshView() for quite awhile after I add them all. I'm using it in Windows Forms by the way, so I'm not sure if that's part of the issue. |
I don't think winform turn down the speed... but it's possible to see you code ? It's in a public repo ? |
I can show you the code. I'll try to upload it to a branch soon. |
Good I will check your code... If I can optimize I will do... I you want you can try to optimize and send a pull request 😄 |
I need check for optimise my code. I forgotten this bug in last week 😅 |
Expected Behavior
I have a loop adding highlights to a file with AddHighLight(...). It should not take very long.
Actual Behavior
Highlight loop takes quite awhile to add big highlights
Steps to Reproduce the Problem
The text was updated successfully, but these errors were encountered: