[Geany] do not open oversize files - hidden pref

Nick Treleaven nick.treleaven at xxxxx
Thu Jan 6 17:08:44 UTC 2011


On Wed, 5 Jan 2011 21:25:38 +0200
Dimitar Zhekov <dimitar.zhekov at gmail.com> wrote:

> > The question is what should the default be, and personally I think some
> > kind of limit is better than no limit.
> 
> 50MB file size IMHO. Most users will never need it, and most machines
> will be able to handle it, even for XML. Personally I work with larger
> files, but prefer another editor for them.

I think 50MB is reasonable too.

> As of the setting being hidden or configurable, won't we include the
> Various ("hidden") preferences editor after 0.20?

I'm planning to, but I want to make some changes to the code in a
branch first.

For one thing, I'm not sure it's safe to allow some hidden prefs to
change after startup, as the code that reads them might assume the
value stays constant.

> If so, the question
> becomes simpler: Does the threshold belong to a specific tab, for
> example "File", or just leave it in "Various"?

I think it probably isn't needed enough to go in the File tab.

Regards,
Nick



More information about the Users mailing list