Il 04/02/2012 14:20, Pavel Sanda ha scritto:
Tommaso,
is there some way how to replace normal end of paragraph with forced new line
(ctrl+enter) via advanced search/replace dialog?
This is a use-case deviating quite a lot from the "typical" one I had in
mind, when one finds mostly single-paragraph texts and replaces
single-paragraph texts as well.
One (small) issue is at the GUI level: entering an "end of paragraph" in
a buffer is something almost prohibited in LyX (unless you type
something in the new line, the insertion is automatically undone). Also,
the implementation triggers automatically the "Search/replace next"
buttons at every ENTER press, this makes the feature quickly usable in
single-par scenarios.
Also, the way Advanced F&R currently works is to compare the F&R buffer
with the document buffer exported one paragraph at a time. This was a
quite arbitrary choice that was following from the usual single-par
scenario.
However, searching for paragraph breaks and other types of break and
probably something else might be useful as well, you might want to drop
an enhancement request on the Trac...
T.