diff options
Diffstat (limited to 'kate/scripts/test.js')
-rw-r--r-- | kate/scripts/test.js | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/kate/scripts/test.js b/kate/scripts/test.js new file mode 100644 index 000000000..acc3b94e3 --- /dev/null +++ b/kate/scripts/test.js @@ -0,0 +1,16 @@ +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(); + |