#18706
Yutaka Emura
Keymaster

Hello,

This code should work assuming the Auto Indent is disabled.

nLines = document.GetLines();
str = document.GetLine( nLines );
if( str.length != 0 ) {
	document.selection.EndOfDocument();
	document.selection.NewLine();
}