Discussion:
#7727: pressing Ctrl+Alt+A from within a math inset does not work
(too old to reply)
Michael Clerx
2014-10-21 09:05:00 UTC
Permalink
#7727: pressing Ctrl+Alt+A from within a math inset does not work
--------------------------+-------------------------
Reporter: MichaelClerx | Owner: lasgouttes
Type: defect | Status: new
Priority: normal | Milestone: 2.1.x
Component: general | Version: 2.0.0
Keywords: |
--------------------------+-------------------------
As for a use case, the only one I
can think of is: suppose I start writing a note. Then I decide I want to
start over. I would want to select all text inside the note and delete it.
Another use case: Say I'm typing an equation "x+y" and I realise I
should have been typing "1/(x+y)". I select all, cut, insert the
fraction and paste back in the appropriate place.
Another use case is merging the contents of insets, for example if you
want to replace a table of insets with an inset containing a table.
None of these occur if you know the exact formatting you want before you
start, but in practice that doesn't happen very often.
Jean-Marc Lasgouttes
2014-10-21 13:02:29 UTC
Permalink
Post by Michael Clerx
Another use case: Say I'm typing an equation "x+y" and I realise I
should have been typing "1/(x+y)". I select all, cut, insert the
fraction and paste back in the appropriate place.
Another use case is merging the contents of insets, for example if you
want to replace a table of insets with an inset containing a table.
None of these occur if you know the exact formatting you want before you
start, but in practice that doesn't happen very often.
OK, let's continue this discussion on lyx-devel.

To be clear, in the patch I proposed in the ticket there are 3 levels of
selection:

* select contents of current cell
* select contents of all cells (if the inset has more than one cell)
* select inset itself.

I was wondering whether the second case was useful. Your first use case
correspond to selecting cell. I am not sure what your second use case is
about.

JMarc

Loading...