ide: Fix for problem which replaced newlines with special paragraph separator chars when sending from IDE to lang text mirror

- QTextCursor::selectedText() replaces newlines with paragraph separator chars. selection().toPlainText() avoids this problem

Signed-off-by: Scott Wilson <i@scottwilson.ca>