[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [StrongED] Re: Manual - Modes



In message <S721cdf8e0Lists@xxxxxxxxxxx>
          "Richard Torrens (lists)" <Lists@xxxxxxxxxxx> wrote:

> In article <d0b0651d57.harriet@xxxxxxxxxxxxxxxx>,
>    Harriet Bazley <lists@xxxxxxxxxxxxxxxxxx> wrote:
> > > I thought I would look at the Functions section next... But I am confused.
> > > These do not appear to tie an UI event to a function... I suspect the
> > > section is better defined as Actions?
> > >
> > > In any case, I do not understand it.
> > >
> > As I understand it, the Functions section defines the various icons/menu
> > entries/key shortcuts that can be set up to call functions for the mode
> > in question. The minimum requirement for each is a line reading Icon or
> > Menu followed by a line reading Select defining the function(s) to be
> > called; if it has an Icon associated with it, you can have an Adjust
> > action defined too.
> 
> Thanks Harriet
> 
> That makes it a _little_ clearer. But not clear enough to be able to
> explain it1
> 
> The (active) lines from the BaseMode functions section is attached. OK -
> they are toolvbr and menu-mode functions. Many lines do indeed start 
> 
> e.g 	Icon		help
> 
> The next line is incomprehensible.

The next line is:

	Help	HBM_help

It is used by StrongED to provide interactive help for a toolbar icon or
menu entry. The keyword 'Help' is followed by either the help string or
a message token that is looked up in the mode's resources.

In this case it's a token that's looked up in:
<StrongED$Dir>.Defaults.Modes.BaseMode.Resources.UK.Messages

> Select - gives Help on the current mode etc.
> 
> 	Key		s-F
>  s-Adjust
> These do nothing. 

These open StrongHelp's search window with the word at the cursor filled
in as search term. Both work correctly here, perhaps SH wasn't running?

> I could go on!

Please do! Anything that isn't clear should be pointed out so that the
instructions can be improved upon.

Cheers,
Fred.

-- 
StrongED Developer
http://www.stronged.iconbar.com/

-- 
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxx
List archives and instructions at
http://stronged.torrens.org/index.html