Controlling text magnification in Textadept

From: vais <vsalik....at.gmail.com>
Date: Wed, 25 Feb 2009 15:30:17 -0800 (PST)

This is pretty standard stuff, and perhaps I am stating the obvious,
but these key bindings should IMHO be in the default install:

keys['a='] = { 'zoom_in', b}
keys['a-'] = { 'zoom_out', b}
keys['a0'] = { function() buffer.zoom = 0 end }

The above is for OS X, but it is the same convention on Win32, except
instead of the apple key, it is Ctrl. This is the convention used in
Firefox on all platforms, Safari, Scite, Textmate, and pretty much
anywhere else text magnification can be controlled from the keyboard.

So, Ctrl + makes text larger, Ctrl - makes it smaller, Ctrl 0 returns
it to its default magnification.

Hope this helps someone :)
Received on Wed 25 Feb 2009 - 18:30:17 EST

This archive was generated by hypermail 2.2.0 : Thu 08 Mar 2012 - 11:37:39 EST