[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [StrongED] "wrapwidth" setting
In article <c683379c53.fjgraute@xxxxxxxxx>, Fred Graute
<fjgraute@xxxxxxxxx> wrote:
> 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.
Inserting StrongED$WrapWidth = 132 in an HTML file overrides the
figure in Softwrap in Mode Choices (wrapwidth figure of 132 appears in
the Information bar). This confirms Martin's earlier posting. If I
insert the command string into HTML's ModeFile (with a comment prefix
character... #) and saved in StrED_cfg.UserPrefs it gets ignored. What
am I doing incorrectly please?
When this command string is working should I expect the window to
extend horizontally to this wrapwidth? This is obviously what I would
like to happen but doesn't.
David and Tony's suggestions earlier on don't appear to work the way I
expected. If I drag out a window for an HTML to WW=132 and save its
Global choices > Windows > View it alters the setting I made for my
TextFile.
> 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.
Richard
--
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx