I had to rewrite multiple times my snippet on a post multiple times using the snippet editor, because it looks a bit broken:
theThe text I am selecting does not always correspondscorrespond to the actual text, so after deletedeleting this text for instance, the affected text is not the one I selected, but also other lines, so I am deleting text that I don't want to.
To reproduce the bug: justJust create a snippet, go to the htmlHTML panel for example, and start editing, selecting text, removing it. You will see the bug. Tested
It was tested in chromeChrome and firefoxFirefox, and I resized manually resized my browser window, (this works for jsfiddle chrome bug), but without any luck.