[tomboy-list] Keyboard shortcut for setting font size (small, normal, large, huge)

Justyn Butler justynbutler at googlemail.com
Wed Mar 19 07:24:30 PDT 2008


Pete Deremer pointed out to me that this is in Bugzilla.
http://bugzilla.gnome.org/show_bug.cgi?id=502821

Looking at the Tomboy source it doesn't look too difficult to add the
keybindings.

The relevant code is in NoteWindow.cs. There are markup objects
including bold, strikeout, large, huge etc. Bold, italic, strikeout
etc have a property called AddAccellerator which describes the
keybinding.

So if I add AddAccellerator properties to the existing small, normal,
large, huge, bullets, increase_indent and decrease_indent objects
we'll have keybindings for them, right?

Could someone who knows something about Mono or Tomboy tell me if I'm
barking up the wrong tree please?

I'll give it a go at some point soon (unless someone else wants to).
But what keybindings would be appropriate for the various actions?
* Font size: Small, Normal, Large and Huge.
* Increase/decrease indent.
* Bullets.

Justyn.

On 19/03/2008, Justyn Butler <justynbutler at googlemail.com> wrote:
> Hi,
>
>  I use Tomboy for a lot and it's indispensable.
>
>  There's really only one thing that slows me down when writing notes,
>  and that's choosing the font size. Pretty much all my notes have
>  headings in them, which are text set to "large" or "huge". But I
>  always need to break my flow and use the mouse to select the font
>  size.
>
>  I haven't managed to find a keyboard shortcut for these actions. Is
>  there one that I've missed?
>
>  If not, presumably I could quite easily generate an addin to perform
>  this simple function, without having to get too familiar with Mono?
>
>  Thanks for your help.
>
>
>  Justyn.
>


More information about the Tomboy-list mailing list