program listing crash

Jean-Marc Lasgouttes lasgouttes at lyx.org
Fri Aug 30 15:34:00 UTC 2024


Le 25/08/2024 à 21:08, T Rex a écrit :
> Hi everyone,
> 
> I was trying to indent code inside the "program listing" environment and 
> the program closed with the key combination: shift+tab.

This is fixed in master now. The trick to have a crash is to select by 
starting from the end of the inset contents. The cursor should be at the 
start of the first paragraph.

Riki, this is obviously needed in stable too. In this setting, there is 
a separate issue that selection drawing fails. All in all, I propose to 
push the two patches below.

OK?

JMarc

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Fix-update-of-cursor-in-tab-delete-when-there-is-a-s.patch
Type: text/x-patch
Size: 1732 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240830/e16f61c9/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Avoid-missing-updates-after-some-operations-on-selec.patch
Type: text/x-patch
Size: 1326 bytes
Desc: not available
URL: <http://lists.lyx.org/pipermail/lyx-devel/attachments/20240830/e16f61c9/attachment-0001.bin>


More information about the lyx-devel mailing list