BBEdit Set Cursor To EOL

Hi folks.

I have a line number, I can select the last character on a line, but I don’t know how to put the cursor at the end of a line. Any idea how I can do this?

Cheers

Hi.

Select the insertion point after the line.

tell application "BBEdit"
	activate
	select insertion point after line x of document 1 
end tell

Thank you sir!