Textarea for testing
| Get selection info | |
| Get amount of characters | |
| Replace selection with following text | |
| Input following text to the caret position | |
| Set character limit to | <= 0 remove limit |
| Set caret position to | <0 set caret position from the end: 1 = beginning(!not 0!), -1 = end |
| Set selection start and end position | to |