Merge paragraphs of different non-Default/Plain Layouts

Daniel xracoonx at gmx.de
Thu Jul 23 04:32:34 UTC 2020


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.

Daniel



More information about the lyx-devel mailing list