• Login
Community
  • Login

Inserting lines for double-spacing throughout?

Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
2 Posts 2 Posters 903 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
    caramadra
    last edited by Aug 27, 2022, 7:46 PM

    I see built in line functions for REMOVING blank lines, and for inserting single blank lines - but is there a way to select my entire file and make it double-spaced, i.e., insert a blank line after every line of text?

    I have a list of bookmarks that I will be opening on a small phone, and it’s hard to hit the one I want when they’re all crammed together. This comes up a lot, for me.

    thanks!

    P 1 Reply Last reply Aug 27, 2022, 10:49 PM Reply Quote 0
    • P
      PeterJones @caramadra
      last edited by PeterJones Aug 27, 2022, 10:50 PM Aug 27, 2022, 10:49 PM

      @caramadra

      FIND = \R
      REPLACE = $0$0
      SEARCH MODE = regular expression
      REPLACE ALL

      This can be recorded as a macro and assigned to a keyboard shortcut for easy use.

      ----

      Useful References

      • Please Read Before Posting
      • Template for Search/Replace Questions
      • FAQ: Where to find regular expressions (regex) documentation
      • Notepad++ Online User Manual: Searching/Regex
      1 Reply Last reply Reply Quote 0
      2 out of 2
      • First post
        2/2
        Last post
      The Community of users of the Notepad++ text editor.
      Powered by NodeBB | Contributors