On 2020-07-23 06:43, Richard Kimberly Heck wrote:
On 7/23/20 12:32 AM, Daniel wrote:
On 2020-07-22 21:15, Richard Kimberly Heck wrote:
On 7/22/20 2:19 PM, Jean-Marc Lasgouttes wrote:
Le 22/07/2020 à 19:27, Daniel a écrit :
I guess there should be some kind of reaction when backspace is
pressed for the first time. Maybe select from the end of the previous
paragraph to the start of the current paragraph via
LFUN_CHAR_BACKWARD_SELECT? Anyway, for me it is hard to say whether
this is a reasonable compromise since I still don't know what was the
reason for the current behavior one. Can you see from git who added
the comment? Is that person still around to ask?

I guess the reason is : assume you have a section and a subsection;
you merge using backspace. What is the layout of the only paragraph
remaining?

Whatever the first one is: section, I'm assuming.

I tend to see this when, e.g., I'm in the first entry of a list, and I
decide I don't want a list, so I hit backspace, and nothing happens. I
expect it to merge with the previous paragraph.

Yes, I would have expected the same. And it already seems works that
way in some cases. For example, if there is a section first and a
default paragraph second and one hits backspace at the beginning of
the default paragraph, the only layout of the paragraph remaining is
section.

If the paragraph where the cursor is is default, then this works, yes.
But in no other case.

Yes, that's what I meant. And this kind of merging seems to me the intuitive merging of layouts. I don't see why it isn't in other cases.

Daniel



--
lyx-devel mailing list
lyx-devel@lists.lyx.org
http://lists.lyx.org/mailman/listinfo/lyx-devel

Reply via email to