bpy.ops.font.text_insert(text="multiple text") with multiple
characters wasn't working.
When the text is selected does not correctly insert multiple characters.
- When the text was selected from left to right, the cursor only move one position next to the selected text.
- When the text is selected from right to left, a part of the selected text remain.
Problem
Using bpy.ops.font.text_insert(text="multiple text") when the text is selected does not correctly insert multiple characters.
Solution
The kill_selection function, which deletes a selection string, can handle multiple insertion strings.
Old: Insert multiple text incorrectly when selecting text.
New: Insert multiple text correctly when selecting text.
Example file: