Action
Move Left
Posted by agiletortoise,
Last update
27 days ago
Move cursor left one character. Mimics behavior of the left arrow key on a keyboard.
Steps
-
script
// move cursor like a left arrow key let [st, len] = editor.getSelectedRange() if (st > 0) { if (len > 0) { editor.setSelectedRange(st, 0) } else { editor.setSelectedRange(st-1, 0) } }
Options
-
After Success Nothing Notification Error Log Level Error
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.