Ensure that all lines in the pad are marked with class `ace-line`.

Without this change, lines that haven't ever been edited will have either
an empty class or, in the case of list start lines, a class that begins
with a space (because the `ace-line` before the space never got added).
pull/3431/head
Dan Bornstein 2016-09-13 01:17:04 +02:00
parent f2b5f3bca2
commit 2a876e5e9b
1 changed files with 1 additions and 1 deletions

View File

@ -214,7 +214,7 @@ domline.createDomLine = function(nonEmpty, doesWrap, optBrowser, optDocument)
result.clearSpans = function() result.clearSpans = function()
{ {
html = []; html = [];
lineClass = ''; // non-null to cause update lineClass = 'ace-line';
result.lineMarker = 0; result.lineMarker = 0;
}; };