Any way to have a fixed number of characters per line?
-
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?
-
@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
-
Sounds like you want a “word processor”, not a “text editor”.
-
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. -
@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.