<div dir="ltr"><div>Hello,</div><div><br></div><div>My name is Santiago Cubino, I'm a student at UBA. I was recently introduced to Smalltalk and Cuis.</div><div><br></div><div>I think it would be nice if Cuis detected that a TextEditor is free of changes when you are editing code, and for some reason regret the changes by undoing or editing it back to what it was before.<br><br></div><div>Some IDEs already implement this by checking the undo-redo three, so that if you are standing in the same point that the one the file was saved, the file is marked free of edits.</div><div><br></div><div>Maybe, in Cuis, it would be better to even detect this by checking directly if the acceptedChanges differ from the currentChanges. So that if you add code and then remove it, the editor shows as pristine.<br></div><div><br></div><div>Below is attached a .cs with my implementation of the feature. I'm open to critics and suggestions.</div><div><br></div><div>Cheers</div><div>Santiago.<br></div></div>