Action

Move left

Posted by violetlilac, Last update over 4 years ago

Move cursor left one character.

Steps

  • script

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

Options

  • After Success Ask
    Notification Info
    Log Level Info
Items available in the Drafts Directory are uploaded by community members. Use appropriate caution reviewing downloaded items before use.