https://bugs.kde.org/show_bug.cgi?id=408291
Bug ID: 408291
Summary: Automatic Spellchecking fails after file is modified
and reloaded
Product: kate
Version: 19.04.1
Platform: Neon Packages
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
Target Milestone: ---
Created attachment 120564
--> https://bugs.kde.org/attachment.cgi?id=120564&action=edit
Misspelled words highlighted
SUMMARY
STEPS TO REPRODUCE
1. Enable Automatic Spellchecking on file with misspelled words
2. Perform a search and replace on that file from the command line (i. e. using
sed) which modifies the file
3. Kate indicates the file has changed and allows you to reload the file
4. Misspelled words are no longer highlighted, although Automatic Spellchecking
is still enabled
OBSERVED RESULT
Not all misspelled words are highlighted after reloading. With some test files
none of the misspelled words are highlighted, with other test files some
misspelled words are highlighted and some are not
EXPECTED RESULT
All misspelled words should be highlighted after file is modified by an
external program and reloaded in Kate
SOFTWARE/OS VERSIONS
Windows:
macOS:
Linux/KDE Plasma:
(available in About System)
KDE Plasma Version:
KDE Frameworks Version:
Qt Version:
ADDITIONAL INFORMATION
Attached image bug1 shows Kate with a file containing misspelled words,
immediately after the misspelled word "tho" was replace with "the" via the
command line.
Attached image bug2 shows the same file immediately after the Reload button was
pressed and the file was reloaded. Note that Automatic Spellchecking was
checked in options for both files.
--
You are receiving this mail because:
You are watching all bug changes.