How do i determine if a newline was typed in the Editor

I can't figure out a way to setup a listener to listen for newlines in the Editor. The TypedActionHandler does not receive new line events.

Also if I try to add a key listener to the Editor's content component. I only get KeyReleased events on the Enter key.