Gena01.com Forum

Software Development => Win32Pad => Topic started by: Hartmut on June 06, 2012, 06:43:20 am



Title: doc bug & wish
Post by: Hartmut on June 06, 2012, 06:43:20 am
Hi gena01, I just downloaded win32pad - its Highlight URLs feature was the criteria. Thanks!

A doc bug:
win32pad obviously stores the win32pad.ini file in %AppData%\Gena01\win32pad\win32pad.ini.
However, readme.txt says that "this file is now stored in the same directory where Win32Pad is installed". 

A wish:
Is it possible to save/restore the window size, but not the window position?
I find the "default" window size (70% of screen for x and y)  a bit large for nowaday's monitor
sizes.
Perhaps you can implement a separate option 'Save Window Size' ?
Then each new instance would have the saved size, but is auto-positioned.  This makes multiple instances better visible and noticeable.

Best regards, Hartmut


Title: an Undo bug
Post by: Hartmut on June 06, 2012, 07:08:33 am
An Undo bug:
When you undo all changes via Ctrl-Z,
- the filename-trailing asterisk in the title bar  doesn't disappear, but stays visible.
- Also if all changes are undone, closing win32pad should not bring up the "Do you wish to save your changes?" dialog.
  [edit] It does not.  My fault.  So it's only the display bug, in that the asterisk doesn't appear.

Hartmut


Title: Re: doc bug & wish
Post by: therube on June 07, 2012, 01:17:26 pm
> stores the win32pad.ini file in

I believe it depends on whether win32pad.ini (pre)exists.

Like if it does not exist, it will default to %APPDATA%.
But if it does it will use the copy found in the win32pad.exe directory & forgo %APPDATA%.

(My win32pad.ini are all in the same directory as win32pad.exe is found.)


Title: Re: doc bug & wish
Post by: Hartmut on June 08, 2012, 05:52:28 am
I believe it depends on whether win32pad.ini (pre)exists.
Like if it does not exist, it will default to %APPDATA%.
But if it does, it will use the copy found in the win32pad.exe directory & forget %APPDATA%.

This is true; even an empty win32pad.ini in the Exe's directory is written on exit.

So it's still a doc bug in readme.txt.
IMHO the sentence from history.txt, version 1.5.8, can be taken:
Quote
Added code to be Windows XP compliant. It will read/write to user's Application
directory if win32pad.ini is not found in the same directory as win32pad.exe