yi-editor/yi — pull request #31 by mgajda (2012-07-03 05:27:14+00:00)
Title: Switch to new-style exceptions (extensible), fixed bug in new modeline

Hello,

I have just switched the code to using new-style exceptions from Control.Exception.
Seems to work so far, so let me know if you like it.

I also fixed new modeline, which gave a huge negative percentage when edited file was empty.