https://bugs.documentfoundation.org/show_bug.cgi?id=161932

Stéphane Guillou (stragu) <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 OS|macOS (All)                 |All
           Hardware|ARM                         |All
            Summary|Replacing text in italics   |Replacing with regular
                   |with regular expressions    |expressions (.*?) shifts
                   |(.*?) changes the original  |direct formatting to the
                   |italics                     |left
     Ever confirmed|0                           |1
            Version|24.2.5.2 release            |24.2.0.0 alpha0+
         Whiteboard| QA:needsComment            |
           See Also|                            |https://bugs.documentfounda
                   |                            |tion.org/show_bug.cgi?id=62
                   |                            |603
             Status|UNCONFIRMED                 |NEW
             Blocks|                            |146076
                 CC|                            |[email protected],
                   |                            |stephane.guillou@libreoffic
                   |                            |e.org

--- Comment #3 from Stéphane Guillou (stragu) 
<[email protected]> ---
I can confirm that direct formatting of what is between the hyphens shifts to
the left by one character. If it is repeated on the same text, it shifts by 2
characters at each run.
Easier to see with text formatted with e.g. highlight.

Version: 25.2.0.0.alpha0+ (X86_64) / LibreOffice Community
Build ID: 8705cfecd5a10f817d3a2a02041d85e77282aa30
CPU threads: 8; OS: Linux 6.5; UI render: default; VCL: gtk3
Locale: en-AU (en_AU.UTF-8); UI: en-US
Calc: CL threaded

Version: 24.2.5.2 (X86_64) / LibreOffice Community
Build ID: bffef4ea93e59bebbeaf7f431bb02b1a39ee8a59

In 7.6, formatting wouldn't be kept when the text was replaced.

Formatting started being kept with:

commit  0c3b89da7cde9866bf3174a6276736c76efb8356
author  Matt K  Thu Aug 03 00:06:24 2023 -0500
committer       Mike Kaganski   Fri Nov 10 19:05:13 2023 +0100
tdf#62603 Fix find/replace to not extend font attributes
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/155274

... which is [2098ffc1b2e5c669ae93d0fca25550c0446dcb2d] in the linux-64-24.2
bibisect repo.

Matt, can you please have a look?


Referenced Bugs:

https://bugs.documentfoundation.org/show_bug.cgi?id=146076
[Bug 146076] [META] Find & Replace Regular Expressions
-- 
You are receiving this mail because:
You are the assignee for the bug.

Reply via email to