在TextMate中显示80个字符的边距线

在TextMate中显示80个字符的边距线

本文介绍了在TextMate中显示80个字符的边距线的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在TextMate中以80个字符显示右边距线?

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?

推荐答案

图片(例如eclipse中的右边距线,gedit等)出来:

Figured it out:

在查看菜单中,取消选中'软包装'。然后,转到视图 - >包装列 - >其他...并在编辑器窗口中选择80个字符的列。

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.

这将显示80个字符的行,但不会强制包装在80字符。 (重新开启软包装将强制包装。)

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

这篇关于在TextMate中显示80个字符的边距线的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-13 11:02