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

Re: [StrongED] Manual - Folding



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

> Folding is done, but some queries, mostly for Fred, I think:
> http://stronged.torrens.org/man/modes/syntaxmodefile.html#FoldParm
> 
> 
> The StrongHelp Reference Card says
>   c-KpPlus   Fold text
>   c-KpMin    Unfold text
> but in fact the actions are reversed. I think the Reference card is in
> error! I have changed the html instructions.

Good spot, I'll fix that.

> In the HTML mode I added
>  Foldparm2	("<H",,,nocase)
> which works, folding on <H1> etc, but of course it also folds at <hr>
> 
> So I tried
>  Foldparm2	("<H"#,,,nocase)
> which doesn't work! Why not? Does the argument need to be either quoted
> text or a named expression?

Yes, it's either a literal string (ie no magic characters) or the name
of an expression defined in the Search section.

> FoldParm1 is defined in BaseMode as
>  FoldParm1 ("*",,StartOfLine)
> But this does not appear to operate in HTML mode - does this attribute
> only work  in BaseMode?

HTML mode has its own definition for FoldParm1 which will override the
one in BaseMode.

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