You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
tdelibs/kate/scripts/test.js

17 lines
324 B

var test = 1;
var start = document.lines ()
document.editBegin();
for (var t = 0; t < 100; t++)
{
document.insertLine (start+t, document.lineLength(0));
document.insertText (start+t, 0, " muh");
document.insertText (start+t, 0, view.cursorLine());
document.insertText (start+t, 0, "// ");
}
document.editEnd();