> It may not be considered a bug, but it is a royal pain in the you know what! 
> It essentially makes the ability to add color highlighting to changing text
> too difficult to be worth the effort in most cases.  (in my opinion)
> 

This is doable with the reference to the string and the string to place 
into it.  The problem really comes down to one of policy.  Are the 
character locations of the colored text what is important, the line 
count/word count, or is it the phrase that needs to be maintained.

In the end, for UI, probably the right thing to do is support html or 
some other markup codes within a string.  The issue here is that this 
string is likely to head from a terminal or connector pane to file or 
serial port or file.  Marked up strings are not too nice for that, so 
having separate formatting codes allows for fancy UIs, but it makes it 
difficult to apply new text and keep the old formatting.

Greg McKaskle


Reply via email to