Skip to content

v8.13.3

Compare
Choose a tag to compare
@github-actions github-actions released this 12 Aug 12:53
· 130 commits to main since this release

Changes

Fixes

fix: Try non-English suffix endings on word breaks (#6066)

fix: Try non-English suffix endings on word breaks (#6066)

Related to #6065.

When breaking a camel case word into its parts there are two word break patterns:

  • regExpCamelCaseWordBreaks
  • regExpCamelCaseWordBreaksWithEnglishSuffix is the default pattern.
    It is the same as regExpCamelCaseWordBreaks, but will not split ALL CAPS words with English suffixes.

Using just regExpCamelCaseWordBreaks misses unknown 4-letter words.
The code below was tried, but it missed flagging words like LSTMs:

  • LSTM was caught.
  • LSTMs was missed because it becomes LST and Ms.
const results = _checkCamelCaseWord(vr, regExpCamelCaseWordBreaks);
if (!results.length) return results;
const resultsEnglishBreaks = _checkCamelCaseWord(vr, regExpCamelCaseWordBreaksWithEnglishSuffix);
return results.length < resultsEnglishBreaks.length ? results : resultsEnglishBreaks;
  • Make sure the API doesn't change when adding functions to text.ts.
  • Fix possible accent issue with wordSplitter (note, not an issue with Normalized strings).

Dictionary Updates

fix: Workflow Bot -- Update Dictionaries (main) (#6070)

fix: Workflow Bot -- Update Dictionaries (main) (#6070)

Update Dictionaries (main)

Summary

 packages/cspell-bundled-dicts/package.json |  2 +-
 pnpm-lock.yaml                             | 10 +++++-----
 2 files changed, 6 insertions(+), 6 deletions(-)

Documentation

docs: fix grammar issue. (#6064)

docs: fix grammar issue. (#6064)

fixes #6059