I want to delete the comment at the current cursor location, but without caring what type of file the user currently works with. What I'm doing so far is something like this:
This works fine for Java and XML files, it even deletes any superfluous whitespaces. But it doesn't work for Ant files because AntCommentImpl.delete() is not implemented. Am I using a wrong approach or should I blame Ant integration for not being completely implemented?