wxHexEditor icon indicating copy to clipboard operation
wxHexEditor copied to clipboard

Advanced FIND mechanism

Open EUA opened this issue 5 years ago • 2 comments

After a find operation, program could replay search for next wıth F3 (or previous one if you switched backward flag) or previous with F3+SHIFT

Fınd dialog needed to be hidden..

Also a quick search dialog could be used with up and down buttons... Like gedit.

EUA avatar Apr 10 '20 00:04 EUA

Since we're brainstorming:

I'm migrating from AXE3 hex editor which is no longer developed/available, and here's how it was done there:

obraz

I've highlighted 3 buttons. There is a "search" button and "search previous" / "search next" buttons which are quite handy to use without memorizing too many shortcuts. How do you feel about adding them?

Regarding shortcuts, I dunno if there's a golden standard for that but:

  • Find forward as F3 is a must since it's consistent with e.g. regedit
  • Find backward as alt+F3 or shift+F3 - I think shift is semantically better since alt implies alternative meaning of shortcut

Also, I'll leave a screenshots of search dialog from AXE, perhaps you'd like to borrow some ideas from it:

obraz

obraz

Note the ability to:

  • select data type of given size / endianness
  • ability to search for binary values entered either in decimal or hex format
  • start from beginning / current position
  • find in selection / marked area
  • find all matches and mark/bookmark them

Also, if you find those features interesting, I'm willing to help implementing any of them. ;)

tehKaiN avatar Apr 14 '20 11:04 tehKaiN

Is there a possibility to implement regex search? It can also be a simplified regex, for example - search: 55 AA * 30.

celentanos avatar Apr 17 '20 14:04 celentanos