RichTextBox: Provide an option to insert a code block divided into chunks
Currently, inserting a code block is processed by the RichTextBox's InsertCodeBlock() method which takes the whole code block at once. This leads to UI freezing when the code block is very long.