Pull from component's rendered lines in tests

This commit is contained in:
Nathan Sobo 2017-03-18 20:08:38 -07:00 committed by Antonio Scandurra
parent e6026a145c
commit 0e747a400d

View File

@ -1539,7 +1539,7 @@ function lineNodeForScreenRow (component, row) {
}
function textNodesForScreenRow (component, row) {
const screenLine = component.getModel().screenLineForScreenRow(row)
const screenLine = component.renderedScreenLineForRow(row)
return component.textNodesByScreenLineId.get(screenLine.id)
}