[TxMt] TM2: fontName/Size override in .tm_properties has no effect

Chris Wong chris at chriswongstudio.com
Sat Jan 14 01:11:34 UTC 2012


I had set the font of my project/folder via the View->Font menu to
"ProFontWindows" 9

In my folder, I create .tm_properties with the following content.

TM_GIT = "/usr/local/bin/git"

TEST_DEFAULT_FONT="$fontName/$fontSize"

["*.txt"]
fontName = "Menlo"
fontSize = 16
TEST_TXT_FONT="$fontName/$fontSize"

In a txt file, I execute the following line with ^R

echo $TEST_TXT_FONT
=Menlo/16

echo $TEST_DEFAULT_FONT
=/

But the problem is the the buffer is not rendered with Menlo size 16.

Is my font setting via the menu overriding the font setting in the
.tm_properties file?  How do I reset it if that's the case?

Thanks
-- 
Chris
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20120113/6e96c4c1/attachment.html>


More information about the textmate mailing list