Under Edit Bundles: Themes : Settings : Markup:Heading 1, I tried to change the size of the font to something smaller, but it didn’t seem to work.
How do I change the size of the displayed heading in Markdown mode?
That’s the right place.
Try cmd-A; cmd-X; cmd-V to force a re-processing of the text…
TM is nicely lazy about checking things :-)
On 11 Feb 2014, at 09:39, Alan Curtis alan.curtis@gmail.com wrote:
Under Edit Bundles: Themes : Settings : Markup:Heading 1, I tried to change the size of the font to something smaller, but it didn’t seem to work. How do I change the size of the displayed heading in Markdown mode?
{ fontName = 'Baskerville'; fontSize = '2.25em'; }
On 11 Feb 2014, at 09:39, Alan Curtis alan.curtis@gmail.com wrote:
Under Edit Bundles: Themes : Settings : Markup:Heading 1, I tried to change the size of the font to something smaller, but it didn’t seem to work. How do I change the size of the displayed heading in Markdown mode?
{ fontName = 'Baskerville'; fontSize = '2.25em'; }
On 2014-02-11, at 11:45, Tim Bates timothy.c.bates@gmail.com wrote:
That’s the right place.
Try cmd-A; cmd-X; cmd-V to force a re-processing of the text…
TM is nicely lazy about checking things :-)
cmd-A; cmd-X; cmd-V didn’t work. However, changing the font using the Font menu item and changing it back again did work.
I thought it could be a problem with my installation, so I clean everything out and built TextMate from source using the instructions.
Now I only seem to have the Pandoc bundle. I must have messed something else up along the way. How to I get a good working copy of TextMate back?
On 12 Feb 2014, at 8:38, Alan Curtis wrote:
[…] How to I get a good working copy of TextMate back?
Download from: http://macromates.com/download
Revert to defaults: https://github.com/textmate/textmate/wiki/Reverting-To-Defaults
On 12 Feb 2014, at 8:38, Alan Curtis wrote:
[…] How to I get a good working copy of TextMate back?
On 2014-02-12, at 00:10, Allan Odgaard mailinglist@textmate.org wrote:
Download from: http://macromates.com/download
Revert to defaults: https://github.com/textmate/textmate/wiki/Reverting-To-Defaults
That’s curious. I followed the instructions and still only had the Pandoc bundle and no others.
I went back and deleted everything TextMate related in
~/Library/Application Support/ ~/Library/Caches/ ~/Library/Preferences/
(there were somethings to do with ‘Preview’ still around, I think.)
Now, having reinstalled, I get what I think is the standard set of Bundles.
Back to the original problem, changing the Markdown Heading Theme. The only way I could get it to take was to change the font using the menu item View/Font/Show Fonts.
On 13 Feb 2014, at 0:01, Alan Curtis wrote:
[…] Back to the original problem, changing the Markdown Heading Theme. The only way I could get it to take was to change the font using the menu item View/Font/Show Fonts.
Go to Bundles → Show Bundle Editor… and select Themes → Settings in the list browser.
Here you will see six items named “Markup: Heading «n»”.
The size for the first is set to 2.25em which is 2.25 times larger than the normal font size. Edit that value and click ⌘S to save the change.
The value won’t affect things immidiately due to internal caches. Either relaunch (⌃⌘Q) or change theme for a Markdown file, to see the change.
It would be really cool, though, to have a menu item or preference where I could just throw a universal switch that says "Make TextMate 2 work like TextMate 1: just one font/size, thank you very much." m.
On Feb 12, 2014, at 2:35 PM, Allan Odgaard mailinglist@textmate.org wrote:
On 13 Feb 2014, at 0:01, Alan Curtis wrote:
[…] Back to the original problem, changing the Markdown Heading Theme. The only way I could get it to take was to change the font using the menu item View/Font/Show Fonts.
Go to Bundles → Show Bundle Editor… and select Themes → Settings in the list browser.
Here you will see six items named “Markup: Heading «n»”.
The size for the first is set to 2.25em which is 2.25 times larger than the normal font size. Edit that value and click ⌘S to save the change.
The value won’t affect things immidiately due to internal caches. Either relaunch (⌃⌘Q) or change theme for a Markdown file, to see the change.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
On Feb 12, 2014, at 2:35 PM, Allan Odgaard mailinglist@textmate.org wrote:
[…] Back to the original problem, changing the Markdown Heading Theme. The only way I could get it to take was to change the font using the menu item View/Font/Show Fonts.
Go to Bundles → Show Bundle Editor… and select Themes → Settings in the list browser.
Here you will see six items named “Markup: Heading «n»”.
The size for the first is set to 2.25em which is 2.25 times larger than the normal font size. Edit that value and click ⌘S to save the change.
But that does not fix the problem of the font change (Baskerville). I want *my* choice of font throughout.
I think the best solution here is to rename the scopes of these settings in such a way as to neuter them. A minimal approach is to change "markup" in their names to "markupNOT"; I use that trick a lot with things where I want to turn them off but leave a clear trace of what I did. Or, of course, just uncheck Enable This Item for each of them.
Ideally, I should be able to configure my global .tm_properties to say something like "markup.*": use the *inherited* font/size, shadowing myself from these settings without the violence of altering/disabling them.
Most of all, though, I wish these settings had never been introduced.
m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com
On 14 Feb 2014, at 23:10, Matt Neuburg wrote:
On Feb 12, 2014, at 2:35 PM, Allan Odgaard mailinglist@textmate.org wrote:
[…] six items named “Markup: Heading «n»”.
The size for the first is set to 2.25em which is 2.25 times larger than the normal font size. Edit that value and click ⌘S to save the change.
But that does not fix the problem of the font change (Baskerville). I want *my* choice of font throughout.
The same items specify “fontName = 'Baskerville'” which can be edited.
I think the best solution here is to rename the scopes […] Or […] just uncheck Enable This Item for each of them.
I’d say best to disable stuff you do not want enabled (rather than edit the scope).
[…] I wish these settings had never been introduced.
Part of the reason for some of the new settings is just to showcase them. I have previously mentioned that wrapping comments is probably not a good default, though I think the larger headers has seen more positive feedback then negative, and had we not included them as “proof of concept” then most people would likely be unaware of this ability…
On Feb 11, 2014, at 7:39 AM, Alan Curtis alan.curtis@gmail.com wrote:
Under Edit Bundles: Themes : Settings : Markup:Heading 1, I tried to change the size of the font to something smaller, but it didn’t seem to work.
How do I change the size of the displayed heading in Markdown mode?
Surely this is a question that _everyone_ must have. What were they _thinking_ when they wrote these size/font changes into the bundle??
Actually there should be a way protect oneself from these settings through one's global .tm_properties.
m.
-- matt neuburg, phd = matt@tidbits.com, http://www.apeth.net/matt/ pantes anthropoi tou eidenai oregontai phusei Programming iOS 7! http://shop.oreilly.com/product/0636920031017.do iOS 7 Fundamentals! http://shop.oreilly.com/product/0636920032465.do RubyFrontier! http://www.apeth.com/RubyFrontierDocs/default.html TidBITS, Mac news and reviews since 1990, http://www.tidbits.com