Show 80-character margin line in TextMate

半腔热情 提交于 2019-12-05 08:59:52

问题


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?


回答1:


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




回答2:


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




回答3:


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.



来源:https://stackoverflow.com/questions/5983597/show-80-character-margin-line-in-textmate

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!