[Libreoffice-bugs] [Bug 128999] New: EDITING:find&replace replaces "\n" in document with newline formatting

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Mon Nov 25 00:22:18 UTC 2019


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

            Bug ID: 128999
           Summary: EDITING:find&replace replaces "\n" in document with
                    newline formatting
           Product: LibreOffice
           Version: 6.2.6.2 release
          Hardware: x86-64 (AMD64)
                OS: Windows (All)
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: Writer
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: vincent_hy_yu at hotmail.com

Description:
Changing font-type with regex find&replace, if a "\n" is present in the
document of the find font-type, it is replaced with a newline formatting.
Expected behavior: same "\n" but changed to target font-type.
Find regex: (.+)
Find font-type: Times New Roman
Replace regex: $1
Replace font-type: Courier New

Steps to Reproduce:
1.create a document of text containing: "this is a test\n.Hello!"
2.find&replace with regex: find (.+) current font-type replace $1 other
font-type
3.replace-all in find-replace dialog


Actual Results:
this is a test
.Hello!

Expected Results:
this is a test\n.Hello!


Reproducible: Always


User Profile Reset: No



Additional Info:
Version: 6.2.6.2 (x64)
Build ID: 684e730861356e74889dfe6dbddd3562aae2e6ad
CPU threads: 2; OS: Windows 6.3; UI render: default; VCL: win; 
Locale: en-US (en_US); UI-Language: en-US
Calc: threaded

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20191125/4148e118/attachment.html>


More information about the Libreoffice-bugs mailing list