Hi Allan,
Could you make the font for the commit message customizable? I can't read that small font well on the new higher-resolution screens, plus I'd prefer it to be a monospaced font anyway.
A very simple way to make it configurable (and I patched my copy of TextMate) would be to edit
TextMate.app/Contents/SharedSupport/Support/bin/CommitWindow.app/Contents/Resources/English.lproj/MainMenu.nib
Select the text view inside the scroll view for the commit message, bring up the Bindings inspector, and change the FontName property to:
Bind to: Shared User Defaults Controller Controller key: values Model Key Path: CommitWindowFontName (or whatever else tickles you) Null Placeholder: Set to the default font name (Lucida Grande?)
Now folks wanting a different font can simply do
defaults write com.cjack.tmbundles.commit-window CommitWindowFontName "Menlo"
No code changes :-)
Thanks
Gerd
On 1 Feb 2011, at 02:05, Gerd Knops wrote:
Hi Allan,
Hi — sorry about the delay in replying.
Could you make the font for the commit message customizable? […] A very simple way to make it configurable (and I patched my copy of TextMate) would be to […]
Can I persuade you to fork https://github.com/textmate/commit-window and submit a pull request containing your changes?