July 30, 2014 at 9:36 am #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();
}