before this modification the ENTER key takes the cursor to the next navigable item in the block .
after the modification it does not do it.
I want that: by default Key Enter takes the cursor to the next navigable item and if I write code in key-enter trigger It does my code.
Is there any way to do it.
thank you.

KEY-NEXT-ITEM is a trigger that fires when you press <Enter> (or <Tab>, as it is used for the same navigational purpose), so put your own code in there. Don't forget to add NEXT_ITEM into your trigger (otherwise, it won't do its main purpose, i.e. move to the next navigable item).

KEY-NEXT-ITEM is a trigger that fires when you press <Enter> (or <Tab>, as it is used for the same navigational purpose), so put your own code in there. Don't forget to add NEXT_ITEM into your trigger (otherwise, it won't do its main purpose, i.e. move to the next navigable item).

Ok. but how can I found ENTER is pressed?
I dont want involve by Java code