Bug 495504 - Spellchecker should not check inside code blocks
Summary: Spellchecker should not check inside code blocks
Status: REPORTED
Alias: None
Product: ghostwriter
Classification: Applications
Component: general (other bugs)
Version First Reported In: 24.08.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: megan.conkle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-28 20:13 UTC by alex.parrill
Modified: 2024-10-28 20:13 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description alex.parrill 2024-10-28 20:13:57 UTC
SUMMARY

The spell checker, under Edit > Spelling, attempts to find spelling errors inside of code blocks and inline code, which produces a ton of annoying false positives.

STEPS TO REPRODUCE
1. Paste some code inside of either an inline code segment (single ticks) a code block (triple ticks)
2. Run the spell checker from Edit > Spelling

OBSERVED RESULT

Spell checker flags "spelling errors" in code blocks.

EXPECTED RESULT

Spell checker should ignore code blocks.

SOFTWARE/OS VERSIONS

Ghostwriter 24.08.2 from the Arch Linux package

ADDITIONAL INFORMATION