Bug 436962

Summary: Improve the matched brackets highlight
Product: [Frameworks and Libraries] frameworks-ktexteditor Reporter: popov895 <popov895>
Component: generalAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: a.samirh78, popov895, waqar.17a
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Matched brackets highlight

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.