marijnh/CodeMirror — pull request #2546 by destitutus (2014-05-08 10:37:47+00:00)
Title: Fix swap doc

Fix problem during swap doc with collapsed lines to doc without collapsed lines and empty content.
It throw error ```There is no line 1 in the document.```