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

Re: [StrongED] stoppong a file auto-loading



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

> I was trying to edit a 65MB TSV file but found that StongED was being
> very slow to respond. I intended to stop StongED by pressing alt-break
> but, by mistake, I pressed ctrl-break.
>
> Now, when I start StrongED, it attempts to reload the 65MB file which
> it was displaying when the machine was re-set.
>
> Can someone please tell me where StrongED holds the data which enables
> it to auto-load a file, on startup (so that I can delete it)?

The files to auto-load are listed in the file called 'List' inside the
AutoSave directory (which is in StrED_cfg.UserPrefs or StrongED.Defaults
depending on how you've set up StrongED). You can either remove the
entire file or load it into another editor and remove the line loading
the 65MB file.

One of the reasons why loading such a big file is slow is the ModeWhen
system, it's actually looking though the entire file to find matches
against patterns used in ModeWhen files not just the first 1k as it says
in the manual.

The latest version has a changed implementation of the ModeWhen system
that does limit itself to the first 1k. Loading a 20MB file taking just
over 7 seconds on the old version, takes about 2 seconds on the new one.

Unfortunately the new implementation still has some hard to find quirks
causing it to not always use the correct mode.

Cheers,

Fred.

-- 
StrongED developer
http://www.stronged.iconbar.com/

-- 
To unsubscribe send a mail to StrongED+unsubscribe@xxxxxxxxxxxxxx