Helmut Jarausch: > I'd like to select text with the left mouse button and paste it > elsewhere with the middle mouse button. > This works just fine WITHIN a file but it doesn't seem to work > BETWEEN two open files.
It works between applications or between the edit and output panes. > Is this a bug, where should I start looking in the sources? I'm not sure whether I think it is a bug. The primary selection copies the currently active selection. To avoid overhead, the primary selection isn't stored as it is being made, only when an application asks for its value. Scintilla receives a selection_get event and copies the selected range from the *current* document which may not be the one where you performed the selection. I suppose it could store the primary selection after every change of selection or it could do something more clever by storing it when switching documents. It would be very easy to drop the value if the application makes any calls that set selection ranges during the switch. Neil _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
