Skip to content
This repository has been archived by the owner on Aug 7, 2023. It is now read-only.

Line and column number reported by ProseLint is always off by one #19

Closed
rsmeral opened this issue May 3, 2016 · 1 comment
Closed
Labels

Comments

@rsmeral
Copy link
Contributor

rsmeral commented May 3, 2016

For example, when an issue is actually at 6:6, the report says it's at 7:7. This happens for all issues.

Happens for me on Markdown-formatted documents with linter-proselint 3.0.0 and Atom 1.6.2.

@rsmeral rsmeral changed the title Line number reported by ProseLint is always off by one Line and column number reported by ProseLint is always off by one May 3, 2016
@Arcanemagus
Copy link
Member

@smockle Looks like this should be a simple fix of subtracting 1 from the values here (Converting the linters reported values from 1-indexed to Atom's 0-indexed values).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants