Heimer
Heimer copied to clipboard
Move cursor to end on text box click
Currently, if we click on node's text edit box, the cursor appears at the beginning before text, which is a bit non-intuitive, since in most cases I want to add text at the end of the current text. It is also not possible to move it by clicking at the empty space of the text box, only by clicking on text.
It should appear at the end of the text instead.
Edit: looks like it only happens on nodes that were not edited since last map load. Example:
- Create a map, place a few nodes, edit them. If we return again to previously edited text boxes, the text cursor position is just as we left it last time.
- Save the map, load the map.
- If we start editing text, the cursor always appears at the beginning, instead of the end.
I add this here for reference: https://stackoverflow.com/questions/31256035/editing-text-how-can-i-change-cursor-position