-
Notifications
You must be signed in to change notification settings - Fork 13
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
write-good output #8
Comments
Great idea, I think we can use |
Now #10 will produce output like this
for this text: "It should have been defined there. But it wasn't suddenly." But I'm not sure what 'index' and 'offset' are about, and how they refer to the original text. Any thoughts? |
I really like the new output! I thought the index was the column position and the offset was maybe the word length but its not making sense - I may file a issue on the write-good repo and ask |
A future development task and discussion could be to synthesize the output for readability or in a tidy format so that the changes can be implemented programmatically. The API currently displays the index position along with the reason for output. The CLI displays an output similar to how word processing spell checkers communicate suggestions for editing with the underline.
For example in a tidy format:
The text was updated successfully, but these errors were encountered: