mgedmin / restview

ReStructuredText viewer

Home Page:https://pypi.python.org/pypi/restview

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error page: highlight the bad source line

mgedmin opened this issue · comments

When docutils raises an exception because of a serious error (or when you use --strict mode), you get an error page that looks like this:
ekrano nuotrauka is 2015-12-31 09-59-13

When the source is long, it's hard to see which line caused the error, especially given that lines are not numbered.

This is what I implemented in 3200228
ekrano nuotrauka is 2015-12-31 09-54-31