Ticket #451 (closed defect: wontfix)
does not prompt to save document if diff is whitespace only
| Reported by: | daxim | Owned by: | |
|---|---|---|---|
| Priority: | major | Milestone: | |
| Component: | editor | Version: | trunk |
| Keywords: | Cc: |
Description
- Create a new document.
- Type some spaces, tabs, newlines.
- Type some alphabetic characters and delete them again.
- Close the document.
What should happen:
Prompts to save changes.
What actually happens:
Closes document without saving changes.
Change History
Note: See
TracTickets for help on using
tickets.

This was an intentional feature, intended to avoid useless "do you want to save this useless document" prompts.
I'm not sure of any cases in which saving a file with a couple of spaces in it is intended. If there are genuine use cases for this, perhaps we can tune it to only not prompt in very simple short cases, while still prompting for larger cases.