Merge paragraphs of different non-Default/Plain Layouts

Richard Kimberly Heck rikiheck at lyx.org
Thu Jul 23 04:43:31 UTC 2020


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.

Riki




More information about the lyx-devel mailing list