setLineWrapMode( QPlainTextEdit::NoWrap), closing, cursor functions