The file that the above line makes is a backup of the original source, unmodified, once you run a tool on a file and reload the file back in (which is what the indenter is doing) then that source is flagged by the IDE as being unsaved and so it will always ask if you want to save.eJan wrote:Thanks Derek!
I have commenteted indenter line:Is there a solution to make indentation only (without modifying the source), closing it without msgbox to save changes?Code: Select all
;RenameFile(pps,pps+".bak")
If you don't rename the source as a backup and save a modified source as the backup instead then it won't get reloaded as the names won't match so I don't really see any other way of doing this, sorry.
