[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] Re: ModeWhen - News
In message <ef47abeeff4c892980ed1036f3fce3de@xxxxxxxxxxxxxxxxxxxx>
Jeremy Nicoll - ml sed <jn.ml.sed45@xxxxxxxxxxxxxxxxxxxx> wrote:
> On 2017-12-07 08:37, Richard Torrens (lists) wrote:
>
> > I've put some examples at
> > http://diy.torrens.org/temp/
>
> The two 'Freecycle' files don't have a line starting "From:" until
> about 8 KB in (though 'others' has one much earlier).
>
> How far into a file does StrongED look when doing ModeWhen tests?
StrongED searches through the first 1kB of a loaded file to match
against the ModeWhen expressions.
In the case of the 'Freecycle' files the match would fail. A string
needs to identified within the first 1kB that could be tested against
in order for the files to be opened in News mode.
Cheers,
Fred.
--
StrongED Developer
http://www.stronged.iconbar.com/
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxx
List archives at http://www.Torrens.org/RO/StrongED/index.html