Bug 153311 - ¶ copy-past/search LibreOffice
Summary: ¶ copy-past/search LibreOffice
Status: RESOLVED DUPLICATE of bug 108256
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
6.4.7.2 release
Hardware: Other Linux (All)
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-01 16:33 UTC by Neolinux
Modified: 2023-02-02 22:50 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Neolinux 2023-02-01 16:33:28 UTC
Description:
¶ copy-past/search LibreOffice

I'd like with one text selection, include end text ¶ (is not character).
So I could search for example two ¶
¶
¶
and than replace with one ¶
¶
With office (microsoft) is easy, I could copy ¶ with other characters, and than past into the search text.
ThankYou for the attention.

Steps to Reproduce:
1.copy ¶ (end text) with normal characters
2.past ¶ with normal characters for search-substitution text


Actual Results:
3.now is not possible, it could be a nice improve

Expected Results:
2.past ¶ with normal characters for search-substitution text


Reproducible: Always


User Profile Reset: No

Additional Info:
is that all with Ubuntu
Comment 1 Neolinux 2023-02-01 16:36:34 UTC
¶ copy-past/search LibreOffice

I'd like with one text selection, include end text ¶ (is not character).
So I could search for example two ¶
¶
¶
and than replace with one ¶
¶
With office (microsoft) is easy, I could copy ¶ with other characters, and than past into the search text.
ThankYou for the attention.
Comment 2 m_a_riosv 2023-02-01 18:28:04 UTC
There is workaround explained here:
https://ask.libreoffice.org/t/how-can-i-remove-double-carriage-returns/16885

Also, the extension:
https://extensions.libreoffice.org/en/extensions/show/alternative-dialog-find-replace-for-writer
It's powerful for that kind of task.
Comment 3 V Stuart Foote 2023-02-02 03:10:07 UTC

*** This bug has been marked as a duplicate of bug 108256 ***
Comment 4 Neolinux 2023-02-02 18:47:00 UTC
If is possible copy ¶ and past ¶ in to search and substitution, without expression, it could be better for the next improve for LibreOffice.
Example text for test, copy and past into search:
Word¶
¶
phrase¶
¶
--- substitution Word¶dog¶---
Word¶
dog¶
Comment 5 V Stuart Foote 2023-02-02 22:50:27 UTC
(In reply to Neolinux from comment #4)
> If is possible copy ¶ and past ¶ in to search and substitution, without
> expression, it could be better for the next improve for LibreOffice.
> Example text for test, copy and past into search:
> Word¶
> ¶
> phrase¶
> ¶
> --- substitution Word¶dog¶---
> Word¶
> dog¶

The "¶" has no meaning, it is simply screen decoration symbol for a paragraph break on the VCL canvas. It is not searchable. And as noted in duplicate bug 108256 the ICU based regex \n will search for the newline (<Shift>+<Return> entry in LO), but as replacement the \n places a paragraph object break.