DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2144 Version: 1.3-current Matt: Yes, text selection works normally. But the issue seems to be that while format() is parsing the html for links, it keeps track of the x position in a local variable xx, which was hitting some code that skipped over spaces without counting them as part of the width. (hence the patch which tries to correct this). It's possible the correct fix is elsewhere, as maybe the problem is deeper. Albrecht: Not sure about the standards, but <I>s seem to have always worked in <PRE>'s in all browsers I've ever used. The FLTK cheat page makes use of <I>s in the source code, to italicise the comments. FWIW, I was able to replicate the problem without <I>'s.. seems to have to do with a closing tag at the end of the previous line causing some kind of problem with space width calculations. Link: http://www.fltk.org/str.php?L2144 Version: 1.3-current _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
