mirror of
https://github.com/atom/atom.git
synced 2026-01-24 22:38:20 -05:00
Pull from component's rendered lines in tests
This commit is contained in:
committed by
Antonio Scandurra
parent
e6026a145c
commit
0e747a400d
@@ -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)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user