In my plugin I've registered an action handler to do something when the tab key is hit:
This works well in most circumstances, but I noticed that if my caret is between two auto-closed characters (like quotes, parentheses, or braces), hitting tab simply moves my caret past the closed character and doesn't ever hit my action handler.
For example, suppose I type (where | represents my caret / cursor)
x = (|
My IDE automatically inserts a closing parenthesis:
x = (|)
Now when I hit tab, the caret is moved to the right of the parenthesis:
x = ()|
but my action handler is never called. Any idea why?