Closed binarycow closed 3 years ago
Thank for reports,
I have a solution. I will implement today if I have the time :)
Thank for reporting
Fixed :)
Get the last code and set the control property :
PreloadByteInEditorMode = PreloadByteInEditor.MaxScreenVisibleLine.
by default the property is set to PreloadByteInEditor.None
Please give me a feedback
@abbaye - That's much faster.
Note: It's quite slow for the initial load. 16 MB file. Like, 5-10 seconds.
The file is not long to load but the all ByteControl at first time.
You can select the preload mode via the property PreloadByteInEditor :)
So,
PreloadByteInEditor.MaxScreenVisibleLine
fixes the screen maximizing delay
What would be the best value to use to fix the screen maximizing delay, but also won't take too long for initial load?
MaxScreenVisibleLine is the most appropriate but it's have a cost on the first load only.
I will add another value in PreLoadByteInEditor...I think I can make the load in two times like (Load max visible line first, after at first file load... Load maxScreen line. I will make some test
I will come back tomorrow with a solution
👍 Thanks for the help!
Thank to you ! It's with come back issues that I can optimize the control :)
Give me a feedback when possible
please test the new MaxStreenVisibileLineAtDataLoad
Describe the bug Delay when maximizing on .NET 5
Edit: Also happens when zooming in/out with mouse wheel
To Reproduce Steps to reproduce the behavior:
Expected behavior
Versions