Get height of editor

I am able to set the height of the editor but I can’t find how to get the current height. Any suggestions?

editor.getWrapperElement().offsetHeight will get you the total height of the editor. editor.getScrollerElement().clientHeight the inner height of the code view.

Bedankt Martijn! Works like a charm!