Fix index out of bounds in get_text_and_insertion_data
Fix index out of bounds in get_text_and_insertion_data

Check size of textL before accessing.(cherry picked from commit db25b4131f3c042b3edc824550a2724433ea5b76)

mcedit/mcedit