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
parent
f2b5f3bca2
commit
2a876e5e9b
|
@ -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;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue