mirror of
https://github.com/atom/atom.git
synced 2026-01-25 06:48:28 -05:00
Pull from compnoent's rendered screen lines in tests
This commit is contained in:
committed by
Antonio Scandurra
parent
2cde4aea76
commit
f58a249be1
@@ -1534,8 +1534,8 @@ function lineNumberNodeForScreenRow (component, row) {
|
||||
}
|
||||
|
||||
function lineNodeForScreenRow (component, row) {
|
||||
const screenLine = component.getModel().screenLineForScreenRow(row)
|
||||
return component.lineNodesByScreenLineId.get(screenLine.id)
|
||||
const renderedScreenLine = component.renderedScreenLineForRow(row)
|
||||
return component.lineNodesByScreenLineId.get(renderedScreenLine.id)
|
||||
}
|
||||
|
||||
function textNodesForScreenRow (component, row) {
|
||||
|
||||
Reference in New Issue
Block a user