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

Re: [StrongED] Folding on SED V4.70a2

In article <54d14dd853.fjgraute@xxxxxxxxx>, Fred Graute

> If you want folding to work with line numbers active then you'll
> need to alter the Fold_Start and Fold_End expressions in the BASIC
> ModeFile.

> Something like this should do the trick:

>   Fold_Start   [LineNumber] "DEF" Fold_End     [LineNumber]
>   "ENDPROC" | ("="*>) {[LineNumber] NL}+

> > Although I consulted the SED Help file I couldn't find anything
> > about the Folding criteria.

> The folding criteria are dictated by the expressions used for
> folding. To find out what the criteria are for a particular mode
> you'll have to look at the FoldParm definitions in its ModeFile.

> The expressions in BASIC mode require that fold starts and ends are
> at the very start of a line. If they're not then folding doesn't
> work, as you've found.

Many thanks for that useful additional information.


To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx
List archives at http://www.Torrens.org.uk/RO/StrongED/index.html