Action

Delete from here to end

Posted by drdrang, Last update about 4 years ago - Unlisted

Steps

  • script

    [loc, len] = editor.getSelectedRange();
    if (len == 0) {
      editor.setText(editor.getTextInRange(0, loc));
    }

Options

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