mirror of
https://github.com/atom/atom.git
synced 2026-01-25 14:59:03 -05:00
Fix soft-wrapping spec
This commit is contained in:
@@ -473,8 +473,7 @@ describe "TextEditorComponent", ->
|
||||
editor.setText "a line that wraps \n"
|
||||
editor.setSoftWrapped(true)
|
||||
nextAnimationFrame()
|
||||
componentNode.style.width = 16 * charWidth + wrapperNode.getVerticalScrollbarWidth() + 'px'
|
||||
component.measureDimensions()
|
||||
wrapperNode.setWidth(16 * charWidth)
|
||||
nextAnimationFrame()
|
||||
|
||||
it "doesn't show end of line invisibles at the end of wrapped lines", ->
|
||||
|
||||
Reference in New Issue
Block a user