Re: How to copy text from shape to body text in a unit test

2024-01-11 Thread Joao S. O. Bueno
A slight unrelated comment, by a luker on the project: Really thank you for taking your time to write tests for behaviors like these. As you know, these complex iterations have tons of edge cases, and that usually bytes users at the worst moments, and it has been so in all wysiwyg apps ever

Re: How to copy text from shape to body text in a unit test

2024-01-11 Thread Miklos Vajna
Hi Regina, On Wed, Jan 10, 2024 at 06:29:24PM +0100, Regina Henschel wrote: > please have a look at the unit test in > https://gerrit.libreoffice.org/c/core/+/161842. It works but it looks > strange to me. > The task is this: > Copy the text content of a shape and paste it in rich text format

How to copy text from shape to body text in a unit test

2024-01-10 Thread Regina Henschel
Hi all, please have a look at the unit test in https://gerrit.libreoffice.org/c/core/+/161842. It works but it looks strange to me. The task is this: Copy the text content of a shape and paste it in rich text format to the body text. Make sure, that a line break (shift enter) in the original