Bug 436962 - Improve the matched brackets highlight
Summary: Improve the matched brackets highlight
Status: RESOLVED NOT A BUG
Alias: None
Product: frameworks-ktexteditor
Classification: Frameworks and Libraries
Component: general (other bugs)
Version First Reported In: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-12 09:58 UTC by popov895
Modified: 2022-01-18 12:43 UTC (History)
3 users (show)

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


Attachments
Matched brackets highlight (191.94 KB, image/png)
2021-05-12 09:58 UTC, popov895
Details

Note You need to log in before you can comment on or make changes to this bug.
Description popov895 2021-05-12 09:58:26 UTC
Created attachment 138357 [details]
Matched brackets highlight

SUMMARY

Currently, matching brackets highlight only changes the background color, but leaves the foreground color unchanged. And if background and foreground colors are approximately similar (and sometimes they are absolutely similar, see attached screenshot), then it looks bad. It's necessary to improve the matched brackets highlight, for example, change the foreground color to an inverted background color or use another decoration style.

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: KDE neon 5.21 User Edition / X11
KDE Plasma Version: 5.21.5
KDE Gear Version: 21.04.0
KDE Frameworks Version: 5.81.0
Qt Version: 5.15.2
Comment 1 Waqar Ahmed 2022-01-18 12:43:15 UTC
Colors are specified by the theme and KTextEditor respects whatever the theme specifies. If the colors are specified in a way that nothing will be visible, then its theme's fault not the renderer's. As such, any coloring fixes should go to respective themes.