Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Show 80-character margin line in TextMate

Is it possible to display a right-margin line at 80 characters in TextMate? (i.e. the right-margin line in eclipse, gedit, etc.) If so, how can I configure that?

like image 915
Justin Avatar asked May 12 '11 19:05

Justin


3 Answers

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.)

like image 168
Justin Avatar answered Oct 22 '22 04:10

Justin


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

Textmate pref

like image 30
CharlesB Avatar answered Oct 22 '22 04:10

CharlesB


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.

enter image description here

like image 10
nates Avatar answered Oct 22 '22 05:10

nates