pub fn paste_text_block( editor: &EditorSession, canvas: &mut Canvas, text: &str, color: RgbColor, ) -> bool