1.  replace \n\n by qwerty

2. replace \n by a space

3. replace qwerty  by \n<anything you want>\n


On 5/29/23 10:20 AM, Kim Mosley wrote:
No, that doesn’t work here because there is a \n at the end of every line… and it is not soft wrapped. When I do what you suggested I get this:

The practice of yoga now comes in as a means of actually making this detachment from mental

construction a practical possibility. In order that this detachment not become nihilistic or otherwise

aberrated, and that altered states of consciousness not merely be substitued as objects of fixation,

the doctrine here introduces the principles of the relative and real natures of phenomena concealed

beneath the conceptualized description.

The relative or dependent nature is the nature of phenomena as products of interactions of

conditions. A generalized example of this commonly used for illustration is the interaction of

sense faculties, sense consciousnesses, and sense data. This is the raw material of the selection and

organizational process of mental construction. Since the faculties, consciousnesses, and data

cannot be apprehended in themselves, outside of their mutual interrelationship, there is no way of


On May 29, 2023, at 11:11 AM, Rod Buchanan <[email protected]> wrote:


If you are looking to change this

this is paragraph 1.
this is paragraph 2.

to this

this is paragraph 1.

this is paragraph 2.

This search/replace should do it:

Search: \n
Replace: \n\n

Make sure Grep is enabled.

HTH,

—
Rod



On May 29, 2023, at 11:06 AM, Kim Mosley <[email protected]> wrote:

Thanks Bruce.

Soft wrapping is off… so I don’t know if this can be fixed other than manually adding a space after each paragraph.

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email [email protected]. To view this discussion on the web visithttps://groups.google.com/d/msgid/bbedit/DF48E0AB-FB27-4F14-81B9-8D6D51D35F4D%40gmail.com.
<example.txt>

On May 29, 2023, at 10:38 AM, Bruce Van Allen <[email protected]> wrote:

if newlines were paragraph separators.


It’s easy to find each “\n” and replace it with with “\n\n", to provide space between lines, but I have a feeling that’s not what you’re thinking of.

Keep in mind that BBEdit is a text editor, not a word processor or page layout app. In text, “\n” stands for a newline; but it doesn’t carry any of the paragraph formatting that a word processor might provide via “space before” or “space after” in its paragraph formatting controls.

When I import text into an app like Affinity Publisher, Adobe InDesign, etc, I rely on those apps to provide the paragraph formatting.

Now, another newline issue can be that paragraphs themselves are “hard-wrapped”, meaning that “\n" is used WITHIN paragraphs to make the lines wrap. In those cases, my goal is usually to remove the “\n”s except where I really want to end the line. That’s another easy find/replace op. BBEdit provides controls to flip “soft wrapping" on/off, so I can see a whole long line wrapped to a viewable width if necessary, but without inserting newlines to make it wrap.

But really, I’m guessing here what you both want. Examples?

  — Bruce

_bruce__van_allen__santa_cruz_ca_



On May 29, 2023, at 7:42 AM, Johnny Ragadoo <[email protected]> wrote: I'd like to learn how to do this, too. BBEdit would be a fantastic companion editor for desktop publishing apps like Affinity Publisher if newlines were paragraph separators.

On Saturday, May 27, 2023 at 6:40:55 AM UTC-5 Kim Mosley wrote:
How do I add a space between paragraphs? It seems every line is showing \n?

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/A0DB5110-1BEA-40AF-B73D-88F19ECFA9AB%40cruzio.com.

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email [email protected]. To view this discussion on the web visithttps://groups.google.com/d/msgid/bbedit/DF48E0AB-FB27-4F14-81B9-8D6D51D35F4D%40gmail.com.


--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email [email protected]. To view this discussion on the web visithttps://groups.google.com/d/msgid/bbedit/B97AB4A5-932D-48EE-A4DA-B0D2F895C10E%40sofstats.com <https://groups.google.com/d/msgid/bbedit/B97AB4A5-932D-48EE-A4DA-B0D2F895C10E%40sofstats.com?utm_medium=email&utm_source=footer>.

--
This is the BBEdit Talk public discussion group. If you have a feature request or need technical support, please email "[email protected]" rather than posting here. Follow @bbedit on Twitter: <https://twitter.com/bbedit>
---
You received this message because you are subscribed to the Google Groups "BBEdit Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/bbedit/B4C0D58D-A103-4AE3-AD1F-BFA1DE12BB1E%40gmail.com <https://groups.google.com/d/msgid/bbedit/B4C0D58D-A103-4AE3-AD1F-BFA1DE12BB1E%40gmail.com?utm_medium=email&utm_source=footer>.

--
Ron Catterall
[email protected]
Fedora 38 Linux


--
Ron Catterall
[email protected]

--
This is the BBEdit Talk public discussion group. If you have a feature request or need 
technical support, please email "[email protected]" rather than posting here. 
Follow @bbedit on Twitter: <https://twitter.com/bbedit>
--- You received this message because you are subscribed to the Google Groups "BBEdit Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/9fdb1c7f-27d4-f297-f8fe-b15902201253%40catterall.net.

Reply via email to