Text object: operators to move cursor to the top or bottom #106196

Merged
Harley Acheson merged 1 commits from pioverfour/blender:dp_font_move_home_end into main 2023-04-19 02:18:31 +02:00

1 Commits

Author SHA1 Message Date
Damien Picard a8848a1c7e Font: add options to move the cursor to the top or bottom
The FONT_OT_move and FONT_OT_move_select operators had most of the
usual operations (char, line, block, page), but the option to go to
the top or bottom of the "file" were lacking, whereas they had been
implemented in the text editor.

I found these shortcuts lacking while editing many text objects in a
scene, as these operations are ubiquitous in text editors.

This commit adds the options using the rather standard Ctrl + Home and
Ctrl + End shortcuts to move. The same shortcuts select by using Shift
as well.

Both the Blender default and Industry compatible keymaps have been
updated.
2023-04-07 13:24:40 +02:00