Community

    • Login
    • Search
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Wrapping the line at X characters (N++ 7.5.7)

    Help wanted · · · – – – · · ·
    wrap
    2
    2
    795
    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.
    • randomeer
      randomeer last edited by

      A few years back a user posted an excellent explanation of how to do a character-wrap in Notepad++.

      https://notepad-plus-plus.org/community/topic/10642/how-do-i-get-the-file-to-wrap-the-line-at-78-characters/4

      I tried Search/Replace solution on version 7.5.7. but I couldn’t get it to work.

      Searching for SEARCH = .{40}(?!\R) returns “can’t find the text”.
      Search mode is set at extended.
      View, Word wrap in unchecked

      I’m pasting simple notepad text, so no formatting, with space as space separator.

      Could you advise on how to make it work?

      Kind regards,

      RND

      Sample text

      This is something I want to to split a 45 characters. One time as a “hard split” and one time as a soft split.

      Scott Sumner 1 Reply Last reply Reply Quote 2
      • Scott Sumner
        Scott Sumner @randomeer last edited by

        @randomeer said:

        Search mode is set at extended.

        You want Regular expression search mode for this technique, not Extended.

        1 Reply Last reply Reply Quote 2
        • First post
          Last post
        Copyright © 2014 NodeBB Forums | Contributors