Guenter Milde ha scritto:
It depends on what the user expects.

Currently,

* if you copy/kill from *inside* a math box, you will get math that
  inserts correct into another math box.

* if you copy/kill a complete math box (or text containing a math box), you
  will get text that inserts correct into text.

* Inserting (Ctrl-V) is done context sensitive: in a math-box it inserts
  the last math kill/copy, in text it inserts the last text kill/copy.
and this is what the long-term LyX user expects.
Ok, I'll propose a further scenario that, IMO, would be useful.

User types "for each [C-M] x^2", then he changes his mind and
wants to move everything in math. So, he selects the entire
thing (text plus the math inset), then creates a new math inset
and tries to paste the thing inside.

What happens with current trunk, is that only the "foreach" text
is pasted in math, while the "[C-M] x^2" math inset is lost.

Would it be difficult to recover this part ?

Thanks, bye,

   T.

Reply via email to