Quote Originally Posted by anda_skoa View Post
Qt Code:
  1. QTextCursor allCursor = editor.textCursor();
  2. allCursor.movePosition(QTextCursor::Start);
  3. allCursor.movePosition(QTextCursor::End, QTextCursor::KeepAnchor);
  4. allCursor.mergeCharFormat(outlineFormat);
To copy to clipboard, switch view to plain text mode 
_
Even though I already tried this before, this ended up working since doing it a second time led me to notice what was interfiering with it and where. Tl;dr I'm working with big arcane undocumented code and you lads saved me by pure chance. Cheers!