manuskript/manuskript/ui/highlighters
Curtis Gedak b473ead98e Fix word recognition for spell checker, ignore active partial words
See PR #651

This commit restores the functionality that prevents spell checking a
word that is being actively typed at the end of a paragraph.

The goals for the spell check word match regexp are:

A. Words should include those with an apostrophe
   *E.g., can't*
B. Words should exclude underscore
   *E.g., hello_world is two words*
C. Words in other languages should be recognized
   *E.g., French word familiarisé*
D. Spell check should include word at absolute end of line with no
   trailing space or punctuation
   *E.g., tezt*
E. Spell check should ignore partial words in progress (user typing)
   *E.g., paragr while midway through typing paragraph*

This commit addresses all five of the above goals.

HISTORY:
- See issue #166 and commit 6ec0c19 in the 0.5.0 release.
- See issue #283 and commit 63b471e in the 0.7.0 release.

Also fix minor incorrect utf-8 encoding at top of source file.
2019-09-22 10:28:49 -06:00
..
__init__.py Checkpoint: working highlighter. Optimization welcome. 2017-11-22 21:03:47 +01:00
basicHighlighter.py Fix word recognition for spell checker, ignore active partial words 2019-09-22 10:28:49 -06:00
markdownEnums.py Adds #233: highlighter for CriticMarkup 2017-11-26 21:23:34 +01:00
markdownHighlighter.py Fix misc. typos 2019-09-19 09:58:24 -06:00
markdownTokenizer.py Fix misc. typos 2019-09-19 09:58:24 -06:00
MMDHighlighter.py Fix Python 3.6 DeprecationWarning invalid escape sequence messages 2018-11-16 12:52:56 -07:00