Drafts Action Directory

Move left

Posted by agiletortoise, Last update 3 months ago

Move cursor left one character.

Install

Steps

  • script

    // move cursor
    var selRange = editor.getSelectedRange();
    if (selRange[0] > 0) {
    	editor.setSelectedRange(selRange[0] - 1, 0);
    }

Options

  • After Success Nothing
    Notification Error
    Log Level Error

Comments

Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.