How cancel Action?

I want cancel CompileAction, when I found some special TextAttributesKeys in file.  I listen for him with AnActionListener, but I can't stop or cancel action.

Is there a way in api that allow to do this?
1 comment
Comment actions Permalink

No. If you want to control the compilation process, you need to plug into the compilation system and, essentially, generate compilation errors if your file contains the strings that you don't wan to be there.


Please sign in to leave a comment.