[prev in list] [next in list] [prev in thread] [next in thread]
List: kwrite-devel
Subject: [Bug 153183] New: Merge (some) attributes in arbitrary highlighting
From: Thomas Friedrichsmeier <thomas.friedrichsmeier () ruhr-uni-bochum ! de>
Date: 2007-11-30 16:23:54
Message-ID: 20071130172353.153183.thomas.friedrichsmeier () ruhr-uni-bochum ! de
[Download RAW message or body]
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.kde.org/show_bug.cgi?id=153183
Summary: Merge (some) attributes in arbitrary highlighting
Product: kate
Version: unspecified
Platform: Compiled Sources
OS/Version: Linux
Status: NEW
Severity: wishlist
Priority: NOR
Component: general
AssignedTo: kwrite-devel kde org
ReportedBy: thomas.friedrichsmeier ruhr-uni-bochum de
Version: (using KDE Devel)
Installed from: Compiled sources
With the advent of arbitrary highlighting comes a new sort of problem:
Mulitple "things" may be highlighted at the same time, and those highlighted regions \
may overlap. E.g. highlighting 1 may specify attribute A for a region, and \
highlighting 2 may specify attribute B for the same region.
This is perfectly benign as long as attributes A and B concern different aspects, \
such as a background color in attribute A and a font weight in attribute B. However, \
there is only a limited number of aspects that can be merged this easily. For others, \
conflicts arise.
A prime example would be background colors, which seems a reasonable attribute to use \
for anything that is not directly related to syntax highlighting. Among others, the \
search functionality uses the background color to indicate matches. In RKWard we now \
use background colors to mark up user defined regions. However, when both things are \
set at once, only one background color will be used, and the other background \
attribute will be ignored (and indeed, it would be nice, if the user defined regions \
in RKWard could overlap, and still be discernable).
So - what would be nice - would be basic support for merging such attributes. In the \
example, a basic way to blend the background colors, or perhaps to overlay them \
(provided they are not fully opaque).
While not easy to do, this seems at least possible for background and foreground \
brushes. (Of course for other attributes, such as font-style it's just not possible \
at all). _______________________________________________
KWrite-Devel mailing list
KWrite-Devel@kde.org
https://mail.kde.org/mailman/listinfo/kwrite-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic