Search functionality #8
Labels
discussion
Further information is requested
enhancement
New feature or request
help wanted
Extra attention is needed
Milestone
Add
--search
or--find
parameter for searching bytes. Highlight the found bytes with some color and/or add bold/underline effect.Example:
Also what about case (in)sensitivity?
Maybe also add search option where you can use a file as search source:
This will probably require double buffered
io.Reader
with moving search "window". The first will read for example 1024 bytes of file and mark the found search position offsets. The second is the currently used one which readswidth
bytes and needs to be changed to read from the bigger buffer. This changes the reader's current functionality a lot and needs some rewrites.Other considerations:
Hex search where only
[0-9a-f ]
can be used in the search string:The text was updated successfully, but these errors were encountered: