Fix error in line number computing
Add opening capabilities to YGDocument