On 13 Oct, Neil Hodgson wrote: > 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. Wouldn't it suffice if it stores the filename together with the information which bytes belong to the selection? It would > be very easy to drop the value if the application makes any calls that > set selection ranges during the switch.
The only application I have in mind is SciTE. If I have two files open, I'd like to click onto one tab, select something there, click onto the other tab und paste there. -- Helmut Jarausch Lehrstuhl fuer Numerische Mathematik RWTH - Aachen University D 52056 Aachen, Germany _______________________________________________ Scite-interest mailing list [email protected] http://mailman.lyra.org/mailman/listinfo/scite-interest
