client9 / misspell

Correct commonly misspelled English words in source files
MIT License
1.35k stars 114 forks source link

Consider callback instead of returning a []Diff #79

Closed client9 closed 8 years ago

client9 commented 8 years ago

Currently the API waits until the entire file is checked before returning the corrected string and list of diffs.

Consider changing API so that when a diff (i.e. a misspelling) a callback function is run. The callback can then immediately print the error.

client9 commented 8 years ago

ReplaceReader is fully async with a callback