Multiple highlights

Help
jnk
2013-02-05
2013-04-30
  • jnk
    jnk
    2013-02-05

    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…

     
  • jnk
    jnk
    2013-02-07

    well it is possible…by changing the Paint functions :)

     
  • Bernhard Elbl
    Bernhard Elbl
    2013-02-07

    This feature is not implemented, but you can.

    As you suggested, modifying the paint methods is the way to go.

     
  • Paul Sanford
    Paul Sanford
    2013-02-25

    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.