English 中文(简体)
突出突出文本Mate 2 中的当前行
原标题:Highlighting the current line in TextMate 2

在 TM 1.x 中,有一个首选项设置可以突出当前行的亮度。 这个选项似乎在 TM2 中消失了 。 我想在 tm_ propherities 中有些设置可以设置, 但我无法解开它 。 我尝试过将线光设置为颜色, 但是这行不通 。 有人知道吗?

问题回答

在TM2中尚不可能,但在这个问题上有一个开放的> ticket,在 guthub 上。

最终,你应该能够这样做:

        settings = {
            lineHighlight =  #FF483E ;
        };

这是来自单开主题。

有可能在窗口左侧的行号和折叠列中为当前行设置颜色。在主题开头的第一个 < code/code> 后添加以下颜色:

gutterSettings = {
        foreground =  #BBBBBB ;
        background =  #333333 ;
        divider =  #BBBBBB ;
        selectionBackground =  #FF8800 ;
        selectionForeground =  #000000 ;
    };




相关问题
Explain this Regular Expression please

Regular Expressions are a complete void for me. I m dealing with one right now in TextMate that does what I want it to do...but I don t know WHY it does what I want it to do. /[[:alpha:]]+|( )/(?1::$...

TextMate: Adding to a bundle

There are a couple of bundles that I would like to add some functionality to. If I update the bundles via SVN will my additions/updates be replaced?

Textmate and vim modes

It is possible to emulate vim modes, macros and bindings in textmate?

Textmate, open file at Caret

I bet this is really obvious but I can t find how to open the linked file that the Caret is currently on in Textmate. For example in the likes of Dreamweaver you can click in the index.html portion of ...

Code folding on consecutive collect/select/reject/each

I play around with arrays and hashes quite a lot in ruby and end up with some code that looks like this: sum = two_dimensional_array.select{|i| i.collect{|j| j.to_i }.sum > 5 }.collect{|i| ...

git commit -a on Mac hangs when TextMate is quitted

I have core.editor set to "mate -w". On Leopard, git commit -a starts TextMate. After entering a commit log message, saving (Cmd-S), and quitting (Cmd-Q) TextMate, git would successfully complete the ...

热门标签