mrichards42 / xword

Cross-platform crossword solving
https://mrichards42.github.io/xword/
GNU General Public License v3.0
42 stars 13 forks source link

Stop at barred squares when finding word boundaries. #175

Closed jpd236 closed 2 years ago

jpd236 commented 2 years ago

See #174

mrichards42 commented 2 years ago

Looks pretty straightforward! I think this also needs to handle the reverse direction, since this code is used for both start and end detection. Possible that FindWordBoundary also needs to know about bars.

jpd236 commented 2 years ago

Added support for LEFT/UP and FindWordBoundary as well - thanks for the review!

mrichards42 commented 2 years ago

Looks good, thanks!