On Sat, 22 Jul 2006, Mattias Gaertner wrote:

> > > > On Sat, 22 Jul 2006, Mattias Gaertner wrote:
> > > > 
> > > > > On Sat, 22 Jul 2006 13:16:13 +0300
> > > > > "George Birbilis" <[EMAIL PROTECTED]> wrote:
> > > > > 
> > > > > > > > and also
> > > > > > > > working on another feature: there is 'find declaration' but
> 'find
> > > > > > > > implementation' is missing...)
> > > > > > >
> > > > > > > Do you mean Ctrl+Shift+Up ?
> > > > > > 
> > > > > > Maybe they mean at some popup menu?
> > > > > > BTW, Delphi7 doesn't have "find implementation" I think but only
> "find
> > > > > > declaration" (quite annoying, don't suppose there's some magic key
> for
> > > > > that
> > > > > > at D7 too?)
> > > > > 
> > > > > They use the same shortcuts here.
> > > > > 
> > > > > find implementation has no menu item, because IMO no one would use
> it
> > > via
> > > > > the menu. I use the function more often than page up/down. For
> newbies
> > > it is
> > > > > mentioned in the tutorial and afaik at least one other place in the
> > > wiki.
> > > > > Experts looks up the keymapping.
> > > > > On the one hand: there are never enough hints for a newbie. 
> > > > > OTOH I don't want to fill the menus with functions, that only exists
> to
> > > see
> > > > > the shortcut. For example 'delete line' Ctrl-Y is the same case.
> > > > > 
> > > > > What do other people think? 
> > > > > Where should we put the 'Lazarus IDE shortcut reference card'?
> > > > 
> > > > In the menu, obviously... ;-)
> > > 
> > > There are more than 300 shortcuts. Sub-sub-menus? ;)
> > 
> > Nono, you need just 1 menu item: "Help - Shortcut Key Chart" :-)
> 
> I see.
> 
>  
> > And that displays a nice tree with all shortcuts in it :-)
> 
> I can add a menu item, that will open the keymapping tab in the editor
> options. How about that?
> I just realized, that we still have no help for the shortcuts. Oh, no. 300
> help items. :(

Before you start programming: I was not being serious; 

In the long term, I think you should add a mandatory 'Hint' parameter to the 
shortcut key registration routine, and it should throw an error when the hint 
is empty; thus forcing people to minimally document their functions.

This should enable you to create a nice reference chart on the fly, and generate
e.g. a fpDoc table from this chart. 

Michael.

_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to