Community

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

    Any way to have a fixed number of characters per line?

    General Discussion
    4
    5
    1769
    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.
    • Dan Evans
      Dan Evans last edited by

      I’ve been trying to look for this option, to little avail.

      I’m wanting to have the option of typing stuff and for notepad plus to automatically “Enter” onto the next line automatically after a set/fixed number of characters had been reached.

      Is this possible?

      Alan Kilborn 1 Reply Last reply Reply Quote 0
      • Terry R
        Terry R last edited by

        @Dan-Evans said in Any way to have a fixed number of characters per line?:

        to automatically “Enter” onto the next line

        As far as I know there is no setting to do this. However there is a setting to highlight any text which exceeds a specified number of columns. Under Settings, Preferences, Editing, look for the Vertical Edge Settings. You can type a number and tick the “background mode”. Then whenever you type over this column the remaining characters will highlight.

        Alternately you could set the width of the Notepad++ window to approximate the width and keep typing. If you have “word Wrap” set on then the text will flow from row to row, however change the width and the view will look completely different.

        There was a recent post where the discussion was about changing widths of the lines, especially long lines (flowing over several rows without a line ending, word wrap). I was involved and presented a number of different solutions for different requests under this post. Look at
        https://community.notepad-plus-plus.org/topic/20008/line-wrap-in-the-current-version?page=1
        Maybe there might be something that helps you.

        Terry

        1 Reply Last reply Reply Quote 3
        • Alan Kilborn
          Alan Kilborn @Dan Evans last edited by

          @Dan-Evans

          Sounds like you want a “word processor”, not a “text editor”.

          1 Reply Last reply Reply Quote 1
          • prahladmifour
            prahladmifour last edited by

            Hello,@Dan-Evans

            Please try this, To Count the data in a line.

            find

            ^([^\]*[\]?[^\]*){0,2}$
            

            and replace with an empty string

            I hope this information will be useful to you.
            Thank you.

            1 Reply Last reply Reply Quote -2
            • Alan Kilborn
              Alan Kilborn last edited by

              @prahladmifour said in Any way to have a fixed number of characters per line?:

              I hope this information will be useful to you.

              I think there’s a new bot in town.
              Reference: I hope this information will be useful to you.

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