-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Opening a file immediately marks it as having unsaved changes #64
Comments
This will always happen if auto-compile is on. The compilation output is part of the project file, so a recompile automatically updates the project file. If you disable auto-compilation, then it will remain unchanged. |
I guess what I'm saying is that if the project compilation output is unchanged from the previous compilation, that should not result in the 'unsaved changes' triggering. I can appreciate that a check like that could require a bit of CPU time, but it would only ever need to happen once, when the file is first opened (or maybe if it's ever possible to implement undo/redo support, down the road). |
@countincognito Let me know if you'd consider reopening this based on my comment above. |
I think I found a way to make this work. It should be completed in the next release. |
This is fantastic!!! 🥳❤️ |
This also triggers the "Project has unsaved changes" dialog on close.
Opening a file should not result in any unsaved changes until I actually make some kind of change to the file.
The text was updated successfully, but these errors were encountered: