CSSG-Labs / PyNote

Text Editor Written in Python
GNU General Public License v3.0
3 stars 4 forks source link

Connect text_is_changed function to new, open, save, and save as functions, as necessary #31

Closed PatrickBruso closed 2 years ago

PatrickBruso commented 2 years ago

I will be connecting the text_is_changed function to the new, open, save, and save as functions, to make sure that there is a check before each function completes. I will also make sure that, once the checks are run, the text being saved is added to the saved_t variable (which I will also probably rename to "saved_text" for readability purposes). If the text is being discarded, then the saved_t variable will be set to "".

This should set up these functions so that we can import the CustomPrompt class to then prompt the user to determine if they want to save or discard the text.