Copy Current Line
Shared by 1writerapp
Script
var line_range = editor.getSelectedLineRange();
editor.setSelectedRange(line_range[0], line_range[1]);
app.setClipboard(editor.getTextInRange(line_range[0], line_range[1]));
Shared by 1writerapp
var line_range = editor.getSelectedLineRange();
editor.setSelectedRange(line_range[0], line_range[1]);
app.setClipboard(editor.getTextInRange(line_range[0], line_range[1]));