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

Re: [StrongED] "wrapwidth" setting

On 16 Oct 2013  Fred Graute <fjgraute@xxxxxxxxx> wrote:

> In message <c1120f9b53.old_coaster@old_coaster.yahoo.co.uk>
>           Tony Moore <old_coaster@xxxxxxxxxxx> wrote:

>> On 15 Oct 2013, Jim Nagel <stred@xxxxxxxxxxxxxxxx> wrote:
>>> Please can someone tell me:
>>> How do I cause a certain textfile to open at width 132, without my
>>> having to manually tweak "wrapwidth" at the bottom of the StrongEd
>>> window every time?
>>> Can't find anything relevant in iconbar Choices.
>>> (The file in question is a logfile that I am opening frequently while
>>> monitoring something.  MPro's Msgserve log, as it happens.)
>> The log should open in SysLog mode, if you have that installed. Then
>> Mode Choices > Wrapping > Softwrap width > Fixed number of characters >
>> 132. However the width of the display is set via Global Choices >
>> Windows, so 132 characters will not be displayed, unless your default is
>> 132, and you will still have to click the toggle-size button.

> You could tie the FullView function to the OnLoad keyword to force the
> view to full size. Simply add this line to the SysLog ModeFile:

>    OnLoad   FullView

> Doing it this way has the advantage that it affects one mode only rather
> than all modes which may be more desirable.

That would be useful for me, in viewing SyncDisc's logfiles, which 
open in Base Mode, and also WimpLog's logs, which open in SysLog 
modes, but it doesn't seem to work for me. Both these files tend to 
have lines up to 200 or more characters. I've added that line to both 
ModeFiles, and I still don't get the full width of these files when I 
view them. I've tried both re-scanning modes in StrongED and quitting 
and restarting, but no joy.

I imagine that I've missed something vital somewhere, but what, I 
wonder? In the Choices for both these modes I have wrapping set to 
Longest line in file, min. 64 max 256.

With best wishes,


Peter Young (zfc W) and family
Prestbury, Cheltenham, Glos. GL52, England

To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx