Pulled together from a variation of several individual user attempts over the years who tried to create this method into one, optimized, clean approach that works consistently and is not costly on performance much at all.
Auto-wraps text once you reach the end of the text box into the next row, auto-removes leading spaces on the left padding from enters, and also monitors each line so editing text earlier in your message will still keep it within the box.
Pulled together from a variation of several individual user attempts over the years who tried to create this method into one, optimized, clean approach that works consistently and is not costly on performance much at all.
Auto-wraps text once you reach the end of the text box into the next row, auto-removes leading spaces on the left padding from enters, and also monitors each line so editing text earlier in your message will still keep it within the box.