Georg Baum wrote:
Am Dienstag, 2. Januar 2007 17:51 schrieb Abdelrazak Younes:
Abdelrazak Younes wrote:
Enrico Forestieri wrote:
\>> I really miss this useful feature badly. Wouldn't it be possible to
make
middle mouse button on Windows paste the clipboard content right now?
Very easy to implement... see attached.
You don't know how many times I select/copy something outside LyX and
then
expect to paste it by middle mouse button.
I do that quite often, too, but I don't use any windows app that supports
it, so I usually get used to that after a short time.
I happened to also like this behaviour. Any objection if I commit this?
Yes. Strong objections, since this is a bad hack, and it is incomplete, too
(you would have to do the same at least in math, maybe other insets, too).
Tabular too yes.
If you want a selection on windows, implement one in
src/frontends/qt4/GuiSelection.C by emulating it with the clipboard. That
would be a clean solution, and it would automatically work for every
inset.
I have an even simpler solution, see attached.
The first (and most difficult) step would be to outline how this is
supposed to work. When should the selection be filled? When should it be
emptied?
With this patch, there is no distinction between theSelection and
theClipboard on windows.
Abdel.