How To Know If Contents Of Open Text Files In Notepad Have Changed

When opening text files in notepad, an asterisk appears right before the file name.   This is to indicate that the file contents have changed or are being edited. Saving the changes will make the asterisk disappear. All done.