[texworks] Settings Memory - restoration of previous state on re-open

Paul A Norman paul.a.norman at gmail.com
Mon Dec 12 00:37:11 CET 2011


Great thanks Stefan,

>"though I think it's an undocumented easter-egg kind of setting"
-- A nice euphemism  :)

TWApp.cpp looks like it sets a cap of 100 ?
-- line 696 (r949) TWApp::setMaxRecentFiles(int value)

So we put

  maxRecentFiles=100

into > texworks-config.txt < ?

Is that something worth having make to the Edit/ Preferences tab somewhere?

... Would there be any other worthwhile `Easter eggs'?

Or should we wait until Christmas? :):)

Paul

On 12 December 2011 00:07, Stefan Löffler <st.loeffler at gmail.com> wrote:
> Hi,
>
> On 2011-12-04 02:00, Paul A Norman wrote:
>> So that means that previous documents eventually fall of the edge of
>> the world, and their state is no longer retrievable when they are
>> re-opened.
>>
>> Is there a command-line switch or configuration setting any where,
>> enabling the increase of that limit at all please?
>
> Yes, there is (though I think it's an undocumented easter-egg kind of
> setting). By default, the number of recent files kept in the list is set
> to kDefaultMaxRecentFiles=20 (as defined in TWApp.cpp). But you can
> (manually) add a config setting "maxRecentFiles=100" or whatever that
> should increase the size of that list (I haven't tried it, though; this
> is just extrapolated from TWApp.cpp).
>
> HTH
> Stefan



More information about the texworks mailing list