Keyboard shortcut for setting font size (small, normal, large, huge)

View: New views
4 Messages — Rating Filter:   Alert me  

Keyboard shortcut for setting font size (small, normal, large, huge)

by Justyn Butler-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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.
_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com

Re: Keyboard shortcut for setting font size (small, normal, large, huge)

by Justyn Butler-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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.
>
_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com

Re: Keyboard shortcut for setting font size (small, normal, large, huge)

by Leon-21 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>  But what keybindings would be appropriate for the various actions?
>  * Font size: Small, Normal, Large and Huge.
>  * Increase/decrease indent.
>  * Bullets.

Maybe use the same ones OpenOffice uses for consistency? These are:
* Font size:Ctrl+0 for normal, Ctrl+1 to Ctrl+9 for sizes
* Increase/decrease indent: Not set by default but Alt+Left/Right
arrow does something similar in other OO applications.
* Bullets: Shift+F12

Leon
_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com

Re: Keyboard shortcut for setting font size (small, normal, large, huge)

by Justyn Butler-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

The Shift+F12 for bullets definitely seems like a good idea.
The Ctrl+number in OpenOffice selects the text "style", seems like
quite a good fit for text sizes in tomboy.
Not too sure about the alt left/right though, that's normally used for
browsing forward/back in file/web browsers.

Anyone else care to weigh in?

Justyn.


On 05/04/2008, Leon <blseal@...> wrote:

> >  But what keybindings would be appropriate for the various actions?
>  >  * Font size: Small, Normal, Large and Huge.
>  >  * Increase/decrease indent.
>  >  * Bullets.
>
>
> Maybe use the same ones OpenOffice uses for consistency? These are:
>  * Font size:Ctrl+0 for normal, Ctrl+1 to Ctrl+9 for sizes
>  * Increase/decrease indent: Not set by default but Alt+Left/Right
>  arrow does something similar in other OO applications.
>  * Bullets: Shift+F12
>
>
>  Leon
>
_______________________________________________
Tomboy-list mailing list
Tomboy-list@...
http://lists.beatniksoftware.com/listinfo.cgi/tomboy-list-beatniksoftware.com