https://bugs.kde.org/show_bug.cgi?id=387729

Christoph Cullmann <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://commits.kde.org/kte
                   |                            |xteditor/3329357359947d8571
                   |                            |aab87ea35157dcc22deccc
             Status|CONFIRMED                   |RESOLVED

--- Comment #4 from Christoph Cullmann <[email protected]> ---
Git commit 3329357359947d8571aab87ea35157dcc22deccc by Christoph Cullmann, on
behalf of Ahmad Samir.
Committed on 29/12/2018 at 15:38.
Pushed by cullmann into branch 'master'.

Don't re-mark words added/ignored to the dictionary as misspelled

Summary:
When a word is added to the dictionary or ignored via the spellingMenu,
the BackgroundChecker instance in ontheflycheck should be updated to
reflect the changes, otherwise words already added to the dictionary
(or ignored) are re-highlited as misspelled when the view changes.

Depends on D17629.

Test Plan:
- Open a file with misspelled words in kate and enable automatic
  spellchecking
- Using the context menu:
  - add a misspelled word to the dictionary
  - Ignore another word B
  misspelling highlighting is removed, as expected
- Scroll up/down so that those particular words are out of view then scroll
  and show them again; notice that those words re-highlighted as misspelled
- After applying the pacth, words added/ingored to the dictionary aren't going
  to be re-highlighted as misspelled when the view changes

Reviewers: cullmann, davidedmundson

Reviewed By: cullmann

Subscribers: kwrite-devel, kde-frameworks-devel

Tags: #kate, #frameworks

Differential Revision: https://phabricator.kde.org/D17630

M  +21   -0    src/spellcheck/ontheflycheck.cpp
M  +2    -0    src/spellcheck/ontheflycheck.h
M  +2    -0    src/spellcheck/spellcheck.cpp
M  +8    -0    src/spellcheck/spellcheck.h

https://commits.kde.org/ktexteditor/3329357359947d8571aab87ea35157dcc22deccc

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to