Skip to content

Commit

Permalink
SpellChecker: instead of parsing the line based on position, use Line…
Browse files Browse the repository at this point in the history
… + Col approach - this way, if we have offset error, it will only affect the current line

and the offset error will not get carried over to the next line.

SpellChecker: use `UTF8Lengh()` method to calculate real length of tokens, this should fix problems when using non ASCII chars in the document
 and the spelling error marker does not correctly mark the word
  • Loading branch information
eranif committed Mar 24, 2024
1 parent 05f631d commit 58b0700
Showing 1 changed file with 109 additions and 97 deletions.
Loading

0 comments on commit 58b0700

Please sign in to comment.