- Perhaps you can take a shorter route and build a model of a simply text with zones that have styles and actions. Then we integrate this in the rendering.
FYI: In Helvetia-Core there is a class called CHHighlightAttribute that can highlight the background, as well as draw bitmap borders (e.g. wiggled lines) around (left, right, bottom, top) the text. The only problem is that a solid background will hide the text selection.
Lukas