> (1) It appears to work for me _somehow_, but in an unexpected way. If you > select text and middle-mouse-click somewhere else, then the text should be > inserted at the click position. Instead it seems to be inserted at the old > position, thus overwriting the selected text with itself. It looks as if > the only necessary fix would be to move the insert position to the > click-position, as it is done in Fl_Input etc..
Yes, this is what I had also: paste replaces itself, so does nothing. It's now fixed. But the solution is more complex because the handle(FL_PASTE) code inserts the text at the insertion point but also deletes the current selection, and because if we just unselect() we loose what we want to paste. > (2) IMHO the so-called "bad behavior" is normal, and I often use it in > other applications, e.g. xterm. This behavior is not found with gedit. The new code allows to paste several times the current selection at various places, but stops recording the selection after any left-click. Is that OK ? _______________________________________________ fltk-bugs mailing list [email protected] http://lists.easysw.com/mailman/listinfo/fltk-bugs
