I was making sure last line was visible when appending a new line if the last line was already visible. When i got a few hundred lines i noticed my app took increasingly more cpu appending new lines. From a user perspective it was fine but i was not happy with cpu usage (i went with fltk for fast and light). I have to admit that i did not examine if there was a better way than show_insert_position to do this.
_______________________________________________ fltk mailing list fltk@easysw.com http://lists.easysw.com/mailman/listinfo/fltk