Action map: insert empty statement
Hi,
I'd like to catch the ENTER key event within a method. The default behavior is that an empty Statement is created. I tried to add an action map, where I catch INSERT actions and added it to my Statement_Editor. This works for statements, but not for placing the caret at curly braces of methods, control flow, etc. and pressing ENTER there. Thus, I don't know a generic way. Any hints?
It would also be nice, if someone could point me to the location in base language, where this placeholder statement is created. I couldn't find the corresponding action...
Thanks!
Ben
Please sign in to leave a comment.
Arg, I feel stupid... Using StatementList works great and makes sense of course ;)