[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] "wrapwidth" setting
In message <539c2ff993riscos@xxxxxxxxxxxxx>
Richard Ashbery <riscos@xxxxxxxxxxxxx> wrote:
> In article <7F762728-A08B-4B96-AF84-A51F1A82DAF6@xxxxxxxxxxxx>, David
> Pitt <pittdj@xxxxxxxxxxxx> wrote:
>
> > On 17 Oct 2013, at 16:47, Richard Ashbery <riscos@xxxxxxxxxxxxx>
> > wrote:
>
> > > In article <79560b9b53.martin@xxxxxxxxxxxxxxxx>, Martin Bazley
> > > <martin.bazley@xxxxxxxxxxxxxxxx> wrote:
> > >
> > >> Insert the string:
> > >
> > >> StrongED$WrapWidth = 132
> > >
> > >> somewhere in the first x bytes of the file (I forget what the
> > >> limit is, might be 1024 or something).
> > >
> > > Apologies for ignorance but... If I insert the string above in
> > > the first few lines of an HTML ModeFile and save it to UserPrefs
> > > I get... Error while parsing - Unknown token 'StrongED$WrapWidth
> > > = 132'. What am I doing incorrectly please?
>
> > StrongED$WrapWidth does not go in the ModeFile, it goes in the file
> > > to be viewed.
>
> Ahh! - that explains it. No wonder SE objects.
Please excuse my pedantry here. Using StrongED$WrapWidth inside a
ModeFile is fine but you must put it in a comment line as otherwise
StrongED will try to parse it.
The same will happen in any other file(type) that is parsed by some kind
of tool. If comments are available, put StrongED$xxx variables inside
one.
Cheers,
Fred.
--
StrongED Developer
http://www.stronged.iconbar.com/
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx