Sublime Forum

Reset font to default size

#1

I want to thank the developers for ST 4200! I am hesitant to install the dev versions, so I appreciate the update to the stable version.

I was playing around with the new preference of default font size. I added the following key binding:

{ "keys": ["ctrl+shift+="], "command": "reset_font_size", },

In my preferences, I have "font_size": 10,. When I increase the font size and then press the key binding, it resets to 11, and not 10. To avoid this issue, it seems the user is required to add "default_font_size": 10, to the preferences, even though this is identical to the default preferences. Therefore, I am under the impression this is a bug.

0 Likes

#2

Increasing the font size is done by changing the "font_size" setting. You can see this yourself by opening up settings and increasing the font size.

Note that on Windows the default "font_size" and "default_font_size" are both 11. This is overwritten in the windows-specific preferences file Preferences (Windows).sublime-settings.

1 Like

#3

@bschaaf, thank you for explaining that this is not a bug. I was looking at the default settings, which contain a value of 10 for both variables. I did not realize there was a specific preference file for Windows. This explains why I must add "default_font_size": 10 to the preferences to be able to reset the font size to 10. Thank you!

0 Likes