deadpixi / tine

tine - a modern clone of the AmigaDOS/TRIPOS ED display editor
GNU General Public License v3.0
60 stars 6 forks source link

Ctrl-F is half-ignored for undo #9

Open drj11 opened 1 year ago

drj11 commented 1 year ago

behaviour:

i was wondering if the undo would undo a single Ctrl-F or the whole sequence of them. What it actually did was undo all of them and also the Ctrl-N. As if the Ctrl-F in and of themselves could not be undone, and the before was restore to the point before the last edit that counted, which was Ctrl-N.

I say half-ignored because this is a bit like Ctrl-F being ignored by undo, for the purposes of decided how far back to undo, but actually correctly undoing the action of them (in addition to some other edit).

deadpixi commented 1 year ago

Ah. This could be pretty easily fixed I think. I’ll take a look tonight.