Clear redo stack on edit

Geany doesn't clear the redo stack when the user edits the document, which is funky.