Action
Delete current line
Steps
-
script
[loc, len] = editor.getSelectedRange(); [lloc, llen] = editor.getSelectedLineRange(); if (len == 0) { editor.setTextInRange(lloc, llen, ''); editor.setSelectedRange(lloc, 0); }
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.