Rich Text editor with event handling

I need to use a text editor (no need to be rich), where I need to handle text changing, ENTER events, retriving lines, etc…
(I want to use a kind of ‘console’)

The Console addon does not support version 7

Does CKEditor wrapper supports these things? I didn’t see something like this in API
Do you have some other editor to suggest?

thank you in advance
Yorgos Tryfon