ProgerXP / Notepad2e

Word highlighting, simultaneous editing, split views, math evaluation, un/grep, comment reformatting, UAC elevation, complete regexps (PCRE), Lua lexers, DPI awareness and more (XP+)
Other
370 stars 52 forks source link

Autosaving directory for unsaved windows #480

Closed ProgerXP closed 1 month ago

ProgerXP commented 7 months ago

Add a new setting: DraftsPath. If set, must point to an existing folder (after expanding %variables%), causing Notepad 2e to save small files there (as File > Save Copy but never doing Ensure consistent line endings and Strip trailing blanks) after 1 minute of a changed window becoming unfocused.

As a result, DraftsPath will only contain files corresponding to either currently running or unexpectedly closed processes.

cshnik commented 1 month ago

Done.

cshnik commented 1 month ago

INI option UnsavedScratchPath renamed to DraftsPath.