place-labs / orthograph-err

Automated docs reviewer. Robotic grammar enthusiast.
MIT License
5 stars 3 forks source link

Use range in annotation #7

Closed kimburgess closed 3 years ago

kimburgess commented 3 years ago

Currently annotations insert with a start line and column only. This can make scanning for errors more time consuming than needed.

TextLint does not currently pass and end position for all rule errors (see https://github.com/textlint/textlint/issues/564), however fixable errors include a range attribute with this information. This won't resolve all scenarios, but should provide better context for a some common cases.