DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Link: http://www.fltk.org/str.php?L2953
Version: 1.3-feature


Seems odd that Fl_Multiline_Output and Fl_Multiline_Input
don't have an append() method.

insert(string) is not quite the same, such as if the user has
moved the cursor, but the app wants to append().

Adding this method to Fl_Input_ would effectively add it to the
above two classes, where its absence is felt the most.

I think this method could simply be:

    void append(const char s) {
        position(size_); // position cursor at end of text
        insert(s);       // insert text at end
    }


Link: http://www.fltk.org/str.php?L2953
Version: 1.3-feature

_______________________________________________
fltk-dev mailing list
fltk-dev@easysw.com
http://lists.easysw.com/mailman/listinfo/fltk-dev

Reply via email to