Allow a return keypress in a list on the last line of a pad to create a new
line.
This commit is contained in:
parent
0713553906
commit
778e1e4641
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue