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

Niccolò Venerandi <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|                            |https://invent.kde.org/plas
                   |                            |ma/kdeplasma-addons/-/commi
                   |                            |t/cba0e2b98945abed548d99245
                   |                            |a9feffc80b67658

--- Comment #3 from Niccolò Venerandi <[email protected]> ---
Git commit cba0e2b98945abed548d99245a9feffc80b67658 by Niccolò Venerandi.
Committed on 30/10/2026 at 14:46.
Pushed by niccolove into branch 'master'.

applets/notes: Read the formatting of a selection from its first char

In a Sticky Note with two lines where only the second one is bold,
triple-clicking the first line makes the Bold button appear checked.
That's because charFormat returns the format of the next block's
first character, which is not part of the selection.

Add a currentCharFormat() helper that, when there is a selection,
reports the format of the first selected character, and use it in all
character format getters. Without a selection nothing changes.
Related: bug 526830

M  +16   -7    applets/notes/documenthandler.cpp
M  +1    -0    applets/notes/documenthandler.h

https://invent.kde.org/plasma/kdeplasma-addons/-/commit/cba0e2b98945abed548d99245a9feffc80b67658

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

Reply via email to