New event editor is multiline. Long awaited enhancement for those who place enough complicated inline code. By default single event field height is enough to place 3 lines of code, but extra mini-button with chevron allows to open wide text area.
Did it work well? Nope, the code was not run at all! It took me few runs and checks to realize that event handler is interpreted as single line expression even though code coloring suggest it is multiline. Hey IBM, thank you very much again!
EDIT: Few days later I discovered another trap in the same place. This time I was processing strings with new line character inside e.g. having something like msg1 + “\n” + msg2. Once again editor suggested I deal with correct JS code but runtime thrown “Invalid or unexpected token“. Keeping in mind that everything inside is just a string to be evaluated, I suspected that special characters must be escaped. So I have added backslash like this msg1 + “\\n” + msg2 and this time event handler worked as a charm. IBM proven technology sounds more and more sarcastic.