codio/CodeMirror — pull request #8 by destitutus (2014-05-08 10:36:33+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.```