abbaye / WpfHexEditorControl

Wpf Hexeditor is a powerful and fully customisable user control for editing file or stream as hexadecimal, decimal and binary. Can be used in Wpf or WinForm application
https://www.nuget.org/packages/WPFHexaEditor/
Apache License 2.0
812 stars 135 forks source link

Editor becomes slow when BytesPerLine is increased (say to 32) #125

Open drventure opened 2 years ago

drventure commented 2 years ago

Describe the bug I set the BytesPerLine to something larger, say 32 or 48 (because in my case, I'd like the full width of the window to be taken up by bytes, not a fixed #.

When I do that, and have a larger number of rows (say 20-40), the editor becomes extremely slow. Just using the arrows to move is even sluggish.

To Reproduce

  1. Set BytesPerLine to 32
  2. Set the editor to be docked in a window full screen
  3. Run and just navigate around

Expected behavior Nav should happen at normal speed.

Screenshots

Desktop (please complete the following information):

abbaye commented 2 years ago

Hello,

Yes I need to update the refresh rate but I have not the time right now (I'm working as 50-60 by week until the end of the year)

If you can, you can work on this and post a pull request :smiley:

drventure commented 2 years ago

Hey there. Thanks for the response!

I might do that. Would you be able to maybe point me in the right direction (a code file or function name... something like that?)

Darin

abbaye commented 2 years ago

Check all update methods in HexaEditor.cs

drventure commented 2 years ago

Great. Thanks. I'll have a look.

Get Outlook for Androidhttps://aka.ms/AAb9ysg


From: Derek Tremblay @.> Sent: Thursday, July 21, 2022 5:59:13 PM To: abbaye/WpfHexEditorControl @.> Cc: Darin Higgins @.>; Author @.> Subject: Re: [abbaye/WpfHexEditorControl] Editor becomes slow when BytesPerLine is increased (say to 32) (Issue #125)

Check all update methods in HexaEditor.cs

— Reply to this email directly, view it on GitHubhttps://github.com/abbaye/WpfHexEditorControl/issues/125#issuecomment-1192011792, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AAOMXBV52FVQHTAGBM4NKHDVVHI4DANCNFSM54H7AXFQ. You are receiving this because you authored the thread.Message ID: @.***>