#10667
QiaoJiao
Participant

Thank you, it is exactly what I am looking for.

Actually, I need to jump to a random line. Here is a code for it:

var lines_total = document.GetLines();
var line_random = Math.floor((Math.random()*lines_total)+1);

document.selection.SetActivePoint(eePosLogical, 1, line_random);