• Login
Community
  • Login

How to make one empty line out of two?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
5 Posts 4 Posters 368 Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C
    Claudia Svenson
    last edited by Jun 3, 2020, 6:02 PM

    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

    1 Reply Last reply Reply Quote 0
    • G
      guy038
      last edited by Jun 3, 2020, 6:11 PM

      Hello, @claudia-svenson, and All,

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

      Best Regards,

      guy038

      C 1 Reply Last reply Jun 4, 2020, 3:04 AM Reply Quote 1
      • C
        Claudia Svenson @guy038
        last edited by Jun 4, 2020, 3:04 AM

        @guy038

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

        1 Reply Last reply Reply Quote 0
        • M
          Makwana Prahlad Banned
          last edited by Jun 4, 2020, 8:23 AM

          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

          E 1 Reply Last reply Jun 4, 2020, 10:22 AM Reply Quote -1
          • E
            Ekopalypse @Makwana Prahlad
            last edited by Ekopalypse Jun 4, 2020, 10:23 AM Jun 4, 2020, 10:22 AM

            @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

            1 Reply Last reply Reply Quote 2
            3 out of 5
            • First post
              3/5
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors