Add linespan support

Added the ability to exact the entire linespan for a tag, not just the line number.