> If such changes are being considered, I would MUCH prefer changing to > the limited pseudo-html syntax that is used by Qt and Pango > and possibly > a large number of other pieces of software. > > This would let users write "foo <b>bold<i>bold > italic</i></b>" and so on. > > The version I am thinking of would never produce errors. Any > "<..." that > does not match a known command will print literally. The "<" must be > immediately followed by a letter or '/' or it is printed literally. > There is no requirement for matching close delimiters. Unexpected '>' > print literally. '&' followed by anything other than the few > recognized > chars is also printed literally. And newlines act exactly like <br>.
Greg's idea (ANSI "inspired" sequences) does have some appeal too, though, and the extended version of Greg's proposal was that we could have support for different mark-up styles, flagged in the widget. Not sure how useful that would really be but it is an interesting concept, I think... -- Ian SELEX Galileo Ltd Registered Office: Sigma House, Christopher Martin Road, Basildon, Essex SS14 3EL A company registered in England & Wales. Company no. 02426132 ******************************************************************** This email and any attachments are confidential to the intended recipient and may also be privileged. If you are not the intended recipient please delete it from your system and notify the sender. You should not copy it or use it for any purpose nor disclose or distribute its contents to any other person. ******************************************************************** _______________________________________________ fltk-dev mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-dev
