Move left

Posted by agiletortoise, Last update over 1 year ago

Move cursor left one character.

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
Actions available in the Action Directory are uploaded by community members. Use appropriate caution reviewing downloaded actions before use.