Is it possible to prompt the user before an undo is performed,
such as the larger refactorings, e.g. "Undo Copy class?", do?
It seems like the undo is bound to the files/editors that are
modified by a command. Is it possible to associate a command
with an editor, even if the command does not change its contents?
Or, even better, is there some sort of project-global undo?
Background: I'm currently working on a taglib-editor that allows
editing of taglib descriptors. If I invoke an action in a specific
tag-class I want to edit the definition of, it would be nice if the
modifications to the TLD could be undone without switching to it.