diff fontaine/document.py @ 2:59fe8cb6190d

Add lots of tests, fix lots of bugs.
author Ludovic Chabant <ludovic@chabant.com>
date Tue, 03 Jan 2017 09:05:28 -0800
parents 74b83e3d921e
children
line wrap: on
line diff
--- a/fontaine/document.py	Mon Jan 02 21:54:59 2017 -0800
+++ b/fontaine/document.py	Tue Jan 03 09:05:28 2017 -0800
@@ -85,6 +85,7 @@
 TYPE_TRANSITION = 5
 TYPE_LYRICS = 6
 TYPE_PAGEBREAK = 7
+TYPE_EMPTYLINES = 8
 
 
 def _scene_element_type_str(t):
@@ -104,6 +105,8 @@
         return 'LYRICS'
     if t == TYPE_PAGEBREAK:
         return 'PAGEBREAK'
+    if t == TYPE_EMPTYLINES:
+        return 'EMPTYLINES'
     raise NotImplementedError()