Is it possible to show multiple highlights in hex box control.?..suppose i have a word 'key'…..all occurrences of the word should be highlighted…
well it is possible…by changing the Paint functions :)
This feature is not implemented, but you can.
As you suggested, modifying the paint methods is the way to go.
A simple implementation (what I did) would be to just hold onto a list of points with associated brush colors and then piggyback on the already existing PaintHexStringSelected function to color them. Here's a commit that basically lays out how to do it, complete with usage examples in the SicDBG.cs file: https://github.com/pmsanford/sic-debug/commit/b0080611116222209de22f786f8f67a007d25bc1
Note that there's no proper error checking in that pass.
Log in to post a comment.
Sign up for the SourceForge newsletter:
You seem to have CSS turned off.
Please don't fill out this field.