Transform deprecated shadow DOM selectors

This commit is contained in:
Antonio Scandurra
2016-09-22 18:17:23 +02:00
parent 56a6510b25
commit b71b412ede
7 changed files with 171 additions and 116 deletions

View File

@@ -538,7 +538,7 @@ class TextEditorComponent
screenPosition = @screenPositionForMouseEvent(event)
if event.target?.classList.contains('fold-marker')
if event.target?.classList.contains('syntax--fold-marker')
bufferPosition = @editor.bufferPositionForScreenPosition(screenPosition)
@editor.destroyFoldsIntersectingBufferRange([bufferPosition, bufferPosition])
return