RepreZen / KaiZen-OpenAPI-Editor

Eclipse Editor for the Swagger-OpenAPI Description Language
Eclipse Public License 1.0
115 stars 12 forks source link

Editor "dirty" status not properly cleared on undo #435

Open tedepstein opened 6 years ago

tedepstein commented 6 years ago

Reported by @andylowry:

Seen in current master build of API Studio:

Open a Swagger or OAS3 model file in SwagEdit. Make any change, and the "dirty" indicator (an asterisk) appears in the editor tab title. Undo the change (^Z in Windows, by default), and the change is undone but the dirty flag remains. Attempting to close the editor causes dialog offering to save the editor.

Editing the same file with YEdit or the basic "Text Editor" manages dirty status correctly.