Also a proposed fix for https://developer.blender.org/T65843
- Add unicode corrected rna getter/setter for text properties current_character and select_end_character
Getter value is converted to unicode size and should display correct values.
Setter converts the input value to bytes size before updating the internal curc and selc.
- Add select_end_line_index with get/set
- Add cursor_set(line, character=0) function for non-selection cursor positioning
- Change current_line_index setter to drag selection (use cursor_set instead)
- Include selection_set()