Bug 45344 - Can't replace something with new line (Shift+Enter). EDITING
Summary: Can't replace something with new line (Shift+Enter). EDITING
Status: NEW
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Writer (show other bugs)
Version:
(earliest affected)
unspecified
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL:
Whiteboard:
Keywords:
: 142052 (view as bug list)
Depends on:
Blocks: 38261 Find-Search
  Show dependency treegraph
 
Reported: 2012-01-28 12:36 UTC by Erkki Laaneoks
Modified: 2024-09-09 13:00 UTC (History)
7 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 Erkki Laaneoks 2012-01-28 12:36:31 UTC
Writer does not offer option to replace something with simple new line (Shift + Enter). 
For example are needed replace all paragraph ends (Enter) with simple new line (Shift+Enter). No search and replace are available.
I think "\n" in input "Replace with" (on Find & Replace dialog) should have the meaning of simple new line (Shift + Enter) and "\p" for paragraph ending.

Manual for that:
http://help.libreoffice.org/Common/List_of_Regular_Expressions
Comment 1 Jean-Baptiste Faure 2012-01-29 11:52:27 UTC
You are right but you can do that with altsearch extension : http://extensions.services.openoffice.org/node/525

So not a defect because LO works as designed. Changed for enhancement.

Best regards.
Comment 2 Ákos 2016-09-20 14:05:04 UTC Comment hidden (obsolete)
Comment 3 Jean-Baptiste Faure 2016-09-21 12:49:34 UTC Comment hidden (obsolete)
Comment 4 Ákos 2016-09-21 13:37:48 UTC Comment hidden (obsolete)
Comment 5 Mike Kaganski 2021-05-03 11:22:24 UTC
*** Bug 142052 has been marked as a duplicate of this bug. ***
Comment 6 Mike Kaganski 2021-05-03 11:35:35 UTC Comment hidden (obsolete)
Comment 7 Regis Perdreau 2024-09-09 13:00:10 UTC
Could we expect some guidelines to solve this problem after 13 years ? please ? 


- End of line character is perfectly searchable with \R string in search dialogue
- In ODF file : end of line is encoded with <text:line-break> 
  end of paragraph is <text:p>


So which is the step after ?  

Tks