SlickEdit Community

SlickEdit Product Discussion => SlickEdit® => Topic started by: fistfullofbeer on May 06, 2019, 04:23:00 am

Title: Word wrap without changing line numbers
Post by: fistfullofbeer on May 06, 2019, 04:23:00 am
Hi,

Is there a way of setting the editor in a way where when a line gets over 'xx' characters it automatically wraps the view (and only the view) of the line in the editor. I do not want the line number to increase but just make the text easier to read.

I would like to implement the setting just for 'Plain text' files and played around a little bit with word wrap but was unable to achieve the result(s) I wanted.

Thanks.
Title: Re: Word wrap without changing line numbers
Post by: patrick on May 06, 2019, 02:49:03 pm
That sounds like Soft Wrap.  You can enable it for a single file by going to the View -> Soft Wrap menu.  To enable it for a language or mode like Plain Text, the easiest thing to do is open up a plain text file,  go to the Document -> Plain Text Options menu, navigate to Word Wrap, and click on the "Enable soft wrap" checkbox on the bottom left of the dialog.
Title: Re: Word wrap without changing line numbers
Post by: fistfullofbeer on May 06, 2019, 04:40:19 pm
That sounds like Soft Wrap.  You can enable it for a single file by going to the View -> Soft Wrap menu.  To enable it for a language or mode like Plain Text, the easiest thing to do is open up a plain text file,  go to the Document -> Plain Text Options menu, navigate to Word Wrap, and click on the "Enable soft wrap" checkbox on the bottom left of the dialog.

Excellent. That works. Thanks.