diff --git a/spec/text-editor-component-spec.js b/spec/text-editor-component-spec.js index 4eecdac61..6bc8cb363 100644 --- a/spec/text-editor-component-spec.js +++ b/spec/text-editor-component-spec.js @@ -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) }