Action

Move Right

Posted by agiletortoise, Last update 27 days ago

Move cursor right one character. Mimics behavior of the right arrow key on a keyboard.

Steps

  • script

    // move cursor
    let [st, len] = editor.getSelectedRange()
    if (len > 0) {
    	editor.setSelectedRange(st+len, 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.