How to make one empty line out of two?



  • Sometimes I copy some text (from Firefox webpage) into a new NP++ tab.

    Unfortunately the original encoding seems to be Linux/Unix related.
    So although there is in the original only one empty line after each paragraph
    in NP++ tab there are two made out of it.

    I think its somehow because of the different CR LF encoding.

    Ok, now how do I get rid all second empty lines in and with NP++?

    Claudia



  • Hello, @claudia-svenson, and All,

    Does running the menu option Edit > EOL Conversion > Windows (CR LF) help ?

    Best Regards,

    guy038



  • @guy038

    No, the menu entry “Windows (CR LF)” is disabled/greyed out


  • Banned

    Hello,@Claudia-Svenson

    Follow this step,To How to make one empty line out of two?

    Step 1:- Open the file in Notepad++

    Step 2:- Press Ctrl + H to open Find and Replace Option.

    Step 3:- Choose Select Mode : Extended.

    Step 4:- In the Find text filed add : \n

    Step 5:- In Replace with : text field add : \n\n, click Replace All.

    I hope this information will be useful for you.

    Thank you



  • @Makwana-Prahlad

    I don’t think this helps as it does exactly the opposite from what
    I think the OP wants to have.

    @Claudia-Svenson

    No, the menu entry “Windows (CR LF)” is disabled/greyed out

    switch to UNIX line endings and back to Windows.
    To verify that you have windows eol only, press the ¶ from the toolbar or goto view->show symbol->show all characters


Log in to reply