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

Antonio Rojas <aro...@archlinux.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
      Latest Commit|                            |https://invent.kde.org/fram
                   |                            |eworks/ktexteditor/commit/2
                   |                            |53cc3bba36ab593a3224914521e
                   |                            |abdb5fed5266
             Status|ASSIGNED                    |RESOLVED

--- Comment #13 from Antonio Rojas <aro...@archlinux.org> ---
Git commit 253cc3bba36ab593a3224914521eabdb5fed5266 by Antonio Rojas.
Committed on 19/05/2021 at 16:01.
Pushed by cullmann into branch 'master'.

Fix on-the-fly spell checking with recent Qt

Qt commit 3a273ac47f20e82a1f2f63411b210025ca0f4495 changed the behavior of
lastIndexOf, so it now starts matching the zero-length regexps from the end of
the string.

This made the regexp '\b' match the end of the string, making the spell checker
think that every character is a word by itself.

Fix it by ignoring the last character of the string when searching for the word
boundary.

M  +2    -2    src/spellcheck/ontheflycheck.cpp

https://invent.kde.org/frameworks/ktexteditor/commit/253cc3bba36ab593a3224914521eabdb5fed5266

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

Reply via email to