Drafts Action Directory

Delete Line in Draft

Posted by khags, Last update 5 months ago

Deletes entire line of text that cursor sits in.

Install

Steps

  • script

    let [st, len] = editor.getSelectedLineRange();
    editor.setTextInRange(st, len, "");

Options

  • After Success Nothing
    Notification Info
    Log Level Info

Comments

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