Hi,

Trying to write my first PSPad script (thanks for the fantastic editor).

It's a JScript and I want to know the current line:


    var line = myEditor.lineText();
    var lineNum = getVarValue("%Line%");
    echo(lineNum);


This returns an empty string into lineNum and the echo messagebox is blank.

Is there a way to do this I can't see?

Thanks,

dpar

-- 
<http://forum.pspad.com/read.php?2,46907,46907>
PSPad freeware editor http://www.pspad.com

Odpovedet emailem