To the all knowing Lords of Texpad,
Recently, I had to reformat and perform a Genesis install. Consequently, TP 6.22 was a complete new install, rather than an upgrade from earlier versions where this setting was permanent. As it's a very handy feature in my scheme of things, what did I miss?
My advance gratitude for any enlightenment.
Sort, No duplicates setting is no longer permanent
Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard
Sort, No duplicates setting is no longer permanent
TextPad 8.16.0 64bit in English and TextPad 9.1.0 64bit in French, on two separate Windows installations
I can confirm what you are seeing. It looks like when textpad closes it isn't updating the sort section in the ConfigState.xml sile which it uses to save the settings in.
As a work-around, if you always want the Delete Duplicate lines setting checked then (with textpad closed) use a different editor to edit the ConfigState.xml file (mine is in C:\Users\UserName\AppData\Roaming\Helios\TextPad\6) and change the 0 to a 1 in the following line in the [sort] section of the file.
Back the file up first though. And don't use notepad to edit it as it doesn't see the unix style line endings.
EDIT: Actually you could use textpad to edit the config file. Just save it as a different name, then after closing textpad over-write the original with the edited version.
As a work-around, if you always want the Delete Duplicate lines setting checked then (with textpad closed) use a different editor to edit the ConfigState.xml file (mine is in C:\Users\UserName\AppData\Roaming\Helios\TextPad\6) and change the 0 to a 1 in the following line in the [sort] section of the file.
Code: Select all
value name="DeleteDups" type="uint">0</value>
EDIT: Actually you could use textpad to edit the config file. Just save it as a different name, then after closing textpad over-write the original with the edited version.
miked, thanks for your quick reply. Unfortunately, there is no [sort], <sort> or <Sort> section o, the code line in the xml file.
Below the Macros section, I added a <Sort></Sort> section with the code in between, using both a third party editor, (EDXOR) and TP, but nothing happened. When I reopened the .xml file, my addition was gone.
P.S: I have the original backed up.
Below the Macros section, I added a <Sort></Sort> section with the code in between, using both a third party editor, (EDXOR) and TP, but nothing happened. When I reopened the .xml file, my addition was gone.
P.S: I have the original backed up.
TextPad 8.16.0 64bit in English and TextPad 9.1.0 64bit in French, on two separate Windows installations
Sorry but it's beyond me.
I have just renamed my configstate.xml file to force Textpad to re-create it (as it would I assume after your fresh install) and the <Sort> section does come back for me. Same version of textpad as you so I don't know what to suggest next. I expect bbadmin will see this and fix it for the next release so we don't have to mess with .xml files anyway.
I have just renamed my configstate.xml file to force Textpad to re-create it (as it would I assume after your fresh install) and the <Sort> section does come back for me. Same version of textpad as you so I don't know what to suggest next. I expect bbadmin will see this and fix it for the next release so we don't have to mess with .xml files anyway.
Please don't apologize, I thank you for showing me the inner workings of TP. I never looked because I had no problems related to the settings file.
Interestingly, after making a backup, I deleted the file just to see what gets to be created since I know my setup by heart and keep whatever user preferences possible, like folders for macros, dictionaries etc., on a separate data drive. Perhaps it's the order of creation? Also, it's no big deal. I just thought that the developers should be aware of it.
Interestingly, after making a backup, I deleted the file just to see what gets to be created since I know my setup by heart and keep whatever user preferences possible, like folders for macros, dictionaries etc., on a separate data drive. Perhaps it's the order of creation? Also, it's no big deal. I just thought that the developers should be aware of it.
TextPad 8.16.0 64bit in English and TextPad 9.1.0 64bit in French, on two separate Windows installations
Is there any progress on this problem? Has it even been reported as a known bug?
The 'Case sensitive' and 'In character code order' flags in the 'Sort Selected Lines' dialog are stuck and have to be reset every time I re-enter TextPad, which is a pain.
(I use TextPad 7.0.9 (32-bit), freshly installed, on Windows XP SP3.)
The 'Case sensitive' and 'In character code order' flags in the 'Sort Selected Lines' dialog are stuck and have to be reset every time I re-enter TextPad, which is a pain.
(I use TextPad 7.0.9 (32-bit), freshly installed, on Windows XP SP3.)
This is a problem for me, too.
The delete duplicate lines checkbox always stuck before version 7.2, and now it always reverts to unchecked after TextPad closes.
I also do not see any string called "DeleteDups" in the xml file, nor any section called <Sort>
I took a chance and added this text to the xml file, and it works:
Phew!
The delete duplicate lines checkbox always stuck before version 7.2, and now it always reverts to unchecked after TextPad closes.
I also do not see any string called "DeleteDups" in the xml file, nor any section called <Sort>
I took a chance and added this text to the xml file, and it works:
Code: Select all
<Sort>
<value name="DeleteDups" type="uint">1</value>
</Sort>
Last edited by jeffy on Tue May 27, 2014 7:08 pm, edited 1 time in total.