[TxMt] Re: Invisibles color

David Howden dhowden at gmail.com
Tue Apr 10 11:53:20 UTC 2012


As there is no theme editor in TM2 yet, you can edit the relevant .tmtheme
file (which is an XML plist file) directly in TextMate.  The setting for
the colour of invisibles will be in the first block called "settings".  The
key you are looking for is called "invisibles", as below:

<dict>
<key>settings</key>
<dict>
<key>background</key>
<string>#0F1110</string>
<key>caret</key>
<string>#F8F8F0</string>
<key>foreground</key>
<string>#F8F8F2F0</string>
<key>invisibles</key>
<string>#888574F0</string>
<key>lineHighlight</key>
<string>#3E464354</string>
<key>selection</key>
<string>#C16217ff</string>
</dict>
</dict>

The colour codes can also have a value for the alpha (transparency)
appended to the usual 6 digit hex RGB code, which is why they look a little
weird!   A little experimentation with the alpha value for invisible seems
to show that TM2 is ignoring it - not sure if Allan can shed any light on
this?

David.

On Tue, Apr 10, 2012 at 12:10 PM, Justin Catterall <
100621.1 at masonsmusic.co.uk> wrote:

>
> On 6 Apr 2012, at 23:50, Timothy Reaves wrote:
>
>  Is it possible to change the color of the characters used for invisibles?
>>
>
>
>
> I don't know about TM2, but in TM1 it's under Preferences->Fonts & Colors.
>
> --
> Justin C, by the sea.
>
>
> ______________________________**_________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/**listinfo/textmate<http://lists.macromates.com/listinfo/textmate>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20120410/2decfec8/attachment.html>


More information about the textmate mailing list