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 I poked at this a bit. I can't say I fully understand Fl_Help_View::format(), but after poking it a bit, think I found a fix (attached here as maybe-fix.patch) which seems to fix the offset problem. I figure even if the patch is not technically correct, it will at least help put you on the right trail; seems the 'xx' calculation was wrong when the add_link() calls were being made, because xx wasn't updating when spaces inside a <PRE> were being parsed. Seems that whenever a tag closes at the end of a line within a PRE block, it affects indented space on the next line to be ignored. For instance, I could replicate the problem without <I>'s by having lines that look like: text --- This is a test <A HREF="#XXX">AAAA</A> text --- This is a test <A HREF="#XXX">BBBB</A> In this case the BBBB link is offset, because the line above it ends in a tag, and the BBBB line has leading white. 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
