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
PR for #3567: Improve word-oriented finds and Leo's spell checker #3568
Conversation
@boltex I think these changes are worth doing for 6.7.5. What do you think? |
Yes lets bring this into 6.7.5 (and I'll also make those changes in leojs right now) Bugfixes are no problem at all 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good- I've done the same in leojs
@boltex Thanks for your comment. I'm still working on the spelling-related part of this PR. |
See #3567. This PR allows improved spell checking of Leo's extended core. See PR #3566.
SpellTabHandler.find
and its related regexes.Add several special cases to handle Python syntax.
g.match_word
so that a word-oriented match will findword
inprint('\nword')
.find._inner_search_match_word
with a call to `g.match_word'.There are no new unit tests, but several hand-checks pass.