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 to [email protected].
> To view this discussion on the web visit 
> https://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 to [email protected].
> To view this discussion on the web visit 
> https://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 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/bbedit/B97AB4A5-932D-48EE-A4DA-B0D2F895C10E%40sofstats.com.

Reply via email to