<s> import sublime , sublime_plugin <EOL> class IncreaseFontSizeCommand ( sublime_plugin . ApplicationCommand ) : <EOL> def run ( self ) : <EOL> s = sublime . load_settings ( "<STR_LIT>" ) <EOL> current = s . get ( "<STR_LIT>" , <NUM_LIT:10> ) <EOL> if current >= <NUM_LIT> : <EOL> current += <NUM_LIT:4> <EOL> elif current >= <NUM_LIT> : <EOL> current += <NUM_LIT:2> <EOL> else : <EOL> current += <NUM_LIT:1> <EOL> if current > <NUM_LIT> : <EOL> current = <NUM_LIT> <EOL> s . set ( "<STR_LIT>" , current ) <EOL> sublime . save_settings ( "<STR_LIT>" ) <EOL> class DecreaseFontSizeCommand ( sublime_plugin . ApplicationCommand ) : <EOL> def run ( self ) : <EOL> s = sublime . load_settings ( "<STR_LIT>" ) <EOL> current = s . get ( "<STR_LIT>" , <NUM_LIT:10> ) <EOL> if current >= <NUM_LIT> : <EOL> current -= <NUM_LIT:4> <EOL> elif current >= <NUM_LIT> : <EOL> current -= <NUM_LIT:2> <EOL> else : <EOL> current -= <NUM_LIT:1> <EOL> if current < <NUM_LIT:8> : <EOL> current = <NUM_LIT:8> <EOL> s . set ( "<STR_LIT>" , current ) <EOL> sublime . save_settings ( "<STR_LIT>" ) <EOL> class ResetFontSizeCommand ( sublime_plugin . ApplicationCommand ) : <EOL> def run ( self ) : <EOL> s = sublime . load_settings ( "<STR_LIT>" ) <EOL> s . erase ( "<STR_LIT>" ) <EOL> sublime . save_settings ( "<STR_LIT>" ) </s>
