On Tue, Jul 11, 2006 at 10:49:50AM +0200, Georg Baum wrote:
> Bo Peng wrote:
>
> > Hi,
> >
> > It is strange to me that lyx can not paste (middle-button) its own
> > selection, since it can paste selection from other application, and
[...]
>
> The selection is a very simple thing, and the logic
Unfortunately I have no idea how to proceed. I guess you should look
how src/frontends/Selection.h is implemented.
I understand that you are in a hurry, but do you have any idea, on the
top of your mind, why cur.selectionAsString(true) does not get
anything in event MOUSE_PRESS (patch attached),
> "Bo" == Bo Peng <[EMAIL PROTECTED]> writes:
>> Personally, I really like to be able to copy/paste (using the
>> selection, I gather) using only the mouse in emacs (it is actually
>> even better, since one can cut/paste using only the mouse!).
Bo> So, we are both interested. JMarc, which par
Personally, I really like to be able to copy/paste (using the
selection, I gather) using only the mouse in emacs (it is actually
even better, since one can cut/paste using only the mouse!).
So, we are both interested. JMarc, which part of the code should I
look at? I could not find where the sel
> "Georg" == Georg Baum <[EMAIL PROTECTED]> writes:
>> Note that an added benefit of this behavior is that I can paste the
>> same text again and again, like from a real clipboard. So, if it is
>> not too troublesome for lyx to implement this, I am all for it.
Georg> I don't understand why yo
Bo Peng wrote:
>> Only limited applications like
>> xterm that do not have a real clipboard may need to do some tricks.
>
> I checked my x programs. firefox, kate, emacs, gvim, all kde programs
> have this behavior. nedit, gedit, and ooffice do not. So, the claim
> that *only limited applications
Actually, after thinking about this a bit more I came to the conclusion that
the current behaviour in LyX is currect, and KDE is playing too many
tricks.
Only limited applications like
xterm that do not have a real clipboard may need to do some tricks.
I checked my x programs. firefox, kate,
Bo Peng wrote:
> Hi,
>
> It is strange to me that lyx can not paste (middle-button) its own
> selection, since it can paste selection from other application, and
> other application can paste lyx' selection. I traced a little bit in
> text3.C, and find that the selection will become empty if a si
In text3.C
case LFUN_MOUSE_PRESS: {
// Middle button press pastes if we have a selection
// We do this here as if the selection was inside an inset
// it could get cleared on the unlocking of the inset so
// we have to check
Hi,
It is strange to me that lyx can not paste (middle-button) its own
selection, since it can paste selection from other application, and
other application can paste lyx' selection. I traced a little bit in
text3.C, and find that the selection will become empty if a single
click is executed. Tha
10 matches
Mail list logo