support line ranges in tutorials
Merge pull request #279 from thomaspark/bug935097

support line ranges in tutorials