开发者

Show 80-character margin line in TextMate

开发者 https://www.devze.com 2023-03-06 00:49 出处:网络
Is it possible to display a right-margin line at 80 characte开发者_StackOverflow中文版rs in TextMate?(i.e. the right-margin line in eclipse, gedit, etc.)If so, how can I configure that?Figured it out:

Is it possible to display a right-margin line at 80 characte开发者_StackOverflow中文版rs in TextMate? (i.e. the right-margin line in eclipse, gedit, etc.) If so, how can I configure that?


Figured it out:

In the View menu, uncheck 'Soft Wrap'. Then, go to View -> Wrap Column -> Other... and select the column at 80 chars in your editor window.

This will show the line at 80 characters, but won't force wrapping at 80 chars. (Turning 'Soft Wrap' back on will force wrapping.)


What about Visual Ornaments/Show right margin indicator in Preferences?

Show 80-character margin line in TextMate


For TextMate 2 it looks like this has moved to View -> Show Wrap Column.

So the column can be set at View -> Wrap Column, then shown/hidden using View -> Show/Hide Wrap Column.

Show 80-character margin line in TextMate

0

精彩评论

暂无评论...
验证码 换一张
取 消