mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-10-27 11:42:41 +03:00
💚
This commit is contained in:
parent
9df25e45ae
commit
c865e6123f
@ -452,6 +452,7 @@ describe "TextEditorComponent", ->
|
||||
|
||||
it "keeps rebuilding lines when continuous reflow is on", ->
|
||||
atom.config.set("editor.continuousReflow", true)
|
||||
wrapperNode.focus()
|
||||
nextAnimationFrame()
|
||||
|
||||
oldLineNodes = componentNode.querySelectorAll(".line")
|
||||
@ -467,6 +468,7 @@ describe "TextEditorComponent", ->
|
||||
oldLineNodes = newLineNodes
|
||||
|
||||
atom.config.set("editor.continuousReflow", false)
|
||||
wrapperNode.blur()
|
||||
nextAnimationFrame()
|
||||
|
||||
newLineNodes = componentNode.querySelectorAll(".line")
|
||||
@ -854,6 +856,7 @@ describe "TextEditorComponent", ->
|
||||
|
||||
it "keeps rebuilding line numbers when continuous reflow is on", ->
|
||||
atom.config.set("editor.continuousReflow", true)
|
||||
wrapperNode.focus()
|
||||
nextAnimationFrame()
|
||||
|
||||
oldLineNodes = componentNode.querySelectorAll(".line-number")
|
||||
@ -869,6 +872,7 @@ describe "TextEditorComponent", ->
|
||||
oldLineNodes = newLineNodes
|
||||
|
||||
atom.config.set("editor.continuousReflow", false)
|
||||
wrapperNode.blur()
|
||||
nextAnimationFrame()
|
||||
|
||||
newLineNodes = componentNode.querySelectorAll(".line-number")
|
||||
|
Loading…
Reference in New Issue
Block a user