Annotald / annotald

A program for annotation in the Penn Treebank format
GNU General Public License v3.0
8 stars 4 forks source link

One undo click, two undo actions #55

Open diertani opened 10 years ago

diertani commented 10 years ago

If you insert an empty category and then delete it (usually because you didn't mean to insert it in the first place), annotald undoes that, but also undoes whatever you last did immediately before it.

aecay commented 10 years ago

What keystroke are you using to insert the empty category?

diertani commented 10 years ago

That... is the problem, unfortunately. I'm not entirely sure, because it's almost always an unintentional typo, and so it's hard to reproduce intentionally.

I did just discover that it wouldn't let me undo an accidental insertion of pro subject (I meant to add a con). It undoes whatever I'd last done before that instead.

diertani commented 10 years ago

I just discovered that it also does the extra undo when you put a -PRN dash tag on something, using the click-through menu, and then undo that.

aecay commented 10 years ago

OK, I fixed the -PRN bug. The others sound plausible, but without a recipe to reproduce them it will be difficult to track them down. Do you remember what you had done to get a *pro* when you wanted a *con*?

diertani commented 10 years ago

Yeah, I clicked the wrong thing on the click menu.

aecay commented 10 years ago

OK, that should be fixed by the changes I've made as well. If you are able to trigger this with a keystroke in the next few days, let me know. If not, I'll make a new release this weekend incorporating this fix and also #47, and have it pushed to babel.

diertani commented 10 years ago

Has this been pushed to babel yet?