Changed structure of editor.
Created a JPanel, added a JScrollPane and and inside that, created a MUTextPane.