Use UUIDs as data-structr-hash value to ensure fixed length.
Set 'inclusiveLeft' flag to true in CodeMirror's markText function to avoid cursor not steppting over hidden part properly.