Code editor does not capture text focus outside of text area
Because the textArea
inside the code editor is dynamically sized, it is possible to click within the outer div
of the editor and not have it focus if the text does not extend there.
Fix would be to consider capturing focus events outside of the textArea
and redirect them into the text area by synthesising a click at the end of a line or at the end of the last line.