CLIPBOARD-RELATED crashes
-
(I am new here, sorry if not doing this correctly)
I have a habit of copying (over several days of work) anything that MAY be useful in the future, and using NPP clipboard in the background as a reference ; when I review it every few days, I paste the items that are important. As I am a linguist, many of the items are in Tibetan, Sanskrit, Greek etc, and those scripts tend to cause NPP to crash, which sometimes means I lose 100s of copied items.
(Also, fancy new characters / emojis one encounters these days on social media seem to cause this.)
I noticed that .DMP files are created upon each crash - can items be retrieved therefrom? Alternatively, can I export THE ENTIRE clipboard history (ALL THE COPIED ITEMS) in one go, into a new file, thus forgoing the trepidation each time I paste an item that contains ‘tricky’ characters? Or is there some TMP file that can be accessed on the hard drive while NPP is running, that contains THE ENTIRE clipboard history?
(The NPP I use is an older Portable version on Win8.1 )
Thanks in advance…Re: [macro that pastes string value of clipboard to the search box](searches for results and pastes all lines of results to clipboard)
-
Giving a version number would help: please share ?-menu’s Debug Info. Depending on how old it is, your “older portable version” might not have bug fixes for known crash issues. (I personally don’t recall hearing about crashes caused by Unicode characters, but that doesn’t mean it hasn’t happened and been fixed.)
I don’t know enough about debugging and .DMP files to know for sure, but my guess is that it would only have whatever pieces were in active memory buffers when the crash occurred, not the entire file contents.
I personally recommend to people, anytime they complain about problems with losing data from unsaved files, that they should look into a solution that encourages them to save any data to disk often. We have a FAQ showing how to configure Notepad++'s built-in “backup” options, as well as how to use the AutoSave plugin to improve on that.
And if you are doing a series of pastes, where any one of those pastes might crash Notepad++, I would highly recommend a manual
Ctrl+S
(save) before anyCtrl+V
(paste).As far as I know, Notepad++'s “Clipboard History” feature doesn’t have a mechanism to dump the whole history at once.
(If the “Re:” post was important to the context of your discussion, could you try to paste a new link to that post, because it didn’t come through correctly, so I don’t know what post you were trying to link to)
-
See a related discussion here, which mentions a non-Notepad++ tool for tracking the clipboard history. Normally, I wouldn’t recommend an external tool, but for you, it would help, because even if Notepad++ crashes, that external tool should not, so you should not lose your clipboard contents.