How to clear the Recent Files list?

General questions about using TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
terrypin
Posts: 172
Joined: Wed Jul 11, 2007 7:50 am

How to clear the Recent Files list?

Post by terrypin »

Could someone please remind me how to empty the list of 'recent' files listed when using the File menu? Couldn't find it in the Help menu.

BTW, how are the entries determined anyway? I don't recognise the correlation of my 16 with the most recent files I've worked with. In fact some are very old. (Lke my version, 7.6.4, 64-bit - and me too!)
ben_josephs
Posts: 2461
Joined: Sun Mar 02, 2003 9:22 pm

Re: How to clear the Recent Files list?

Post by ben_josephs »

Close all instances of TextPad.
Find your ConfigState.xml file, probably one of these:

Code: Select all

%APPDATA%\Helios\TextPad\8\ConfigState.xml
%APPDATA%\Helios\TextPad\9\ConfigState.xml
Save it somewhere safe.
Open it in an editor that isn't TextPad.
Find this section:

Code: Select all

  <Recent-File-List> 
    <value name="File1" type="string">C:\path\to\some_file</value>
    <value name="FileType1" type="uint">fde902</value>
    ...
  </Recent-File-List>
Adjust it as required.
Save the file.
Open TextPad and examine the recent file list.
If all is not as it should be, close all instances of TextPad and restore the saved version of ConfigState.xml.

ConfigState.xml is saved every time you close an instance of TextPad, so the list can end up containing files you don't expect to see there.

Note to Helios: Saving the recent strings and file lists in the workspace would make them more useful. :-)
terrypin
Posts: 172
Joined: Wed Jul 11, 2007 7:50 am

Re: How to clear the Recent Files list?

Post by terrypin »

Great, thanks, duly cleared.

Is it stiil as complex as that in the latest version?

IMO it needs a one-click button to clear all, and a Right-click > Remove for individual entries.
User avatar
AmigoJack
Posts: 536
Joined: Sun Oct 30, 2016 4:28 pm
Location: グリーン ヒル ゾーン
Contact:

Re: How to clear the Recent Files list?

Post by AmigoJack »

terrypin wrote: Wed Feb 15, 2023 5:00 pma Right-click > Remove for individual entries
This is impossible in Windows. You never ever encountered a menu that would popup another menu upon right click your whole life when using any Microsoft Windows version.
Post Reply