DO NOT REPLY TO THIS MESSAGE. INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.
[STR New] Link: http://www.fltk.org/str.php?L2131 Version: 1.4-feature This will probably be painful to fix, since getting the proper position involves calculating line heights. The way I can think of would be to make some of the logic currently in draw() accessible to search so that the code that parses the HTML can also be used to search for a string, so that the y position of the matching text can be found with the same logic used to draw it. This would probably mean moving all the code out of draw() to a separate function that could take a few extra arguments (such as an optional search string that would eg. disable the fltk drawing code), and call that function from draw() with the search field set to NULL. This probably is less hard than it sounds, but.. If no one beats me to it, I'll try to find some time to flesh this out. Comments from devs welcome who are familiar with this code. Link: http://www.fltk.org/str.php?L2131 Version: 1.4-feature _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
