Deprecate Editor::lineLengthForBufferRow

Esse commit está contido em:
Ben Ogle
2014-09-03 14:03:04 -07:00
commit 5e21d1ca5b
3 arquivos alterados com 6 adições e 4 exclusões
+1 -1
Ver Arquivo
@@ -103,7 +103,7 @@ describe "editorView.", ->
benchmark "cache-entire-visible-area", 100, ->
for i in [firstRow..lastRow]
line = editorView.lineElementForScreenRow(i)[0]
editorView.positionLeftForLineAndColumn(line, i, Math.max(0, editorView.lineLengthForBufferRow(i)))
editorView.positionLeftForLineAndColumn(line, i, Math.max(0, editorView.getModel().lineTextForBufferRow(i).length))
describe "text-rendering.", ->
beforeEach ->