Allow a return keypress in a list on the last line of a pad to create a new

line.
pull/2696/head
Xavid 2015-06-19 14:03:22 -04:00
parent 0713553906
commit 778e1e4641
1 changed files with 1 additions and 1 deletions

View File

@ -3384,7 +3384,7 @@ function Ace2Inner(){
renumberList(lineNum + 1);//trigger renumbering of list that may be right after
}
}
else if (lineNum + 1 < rep.lines.length())
else if (lineNum + 1 <= rep.lines.length())
{
performDocumentReplaceSelection('\n');
setLineListType(lineNum + 1, type+level);