List Info

Thread: Re: KDE/kdevelop/languages/cpp




Re: KDE/kdevelop/languages/cpp
user name
2007-12-06 19:43:12
On 07.12.07 00:00:46, David Nolden wrote:
> Currently works only with up to 9 local
variables(because of chosen
> hardcoded colors, that btw. still need some tuning).

I guess you're aware of this, but better safe than sorry:
Hardcoded
colors need to vanish before the first beta. 

The question is: Does KColorScheme from kdelibs provide
enough colors?
If not, can we re-use colors from kate's color
configuration? If thats
not possible either (because their highlighting stuff
interferes with
our extensions) we need to come up with our own color
configuration for
abstract things (like variable-usage, function-usage,
class-usage,
class-declaration, other things from other parts of
kdevelop).

Andreas

-- 
Your aim is high and to the right.

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

Re: KDE/kdevelop/languages/cpp
user name
2007-12-07 03:19:56
On Friday 07 December 2007 02:43:12 Andreas Pakulat wrote:
> On 07.12.07 00:00:46, David Nolden wrote:
> > Currently works only with up to 9 local
variables(because of chosen
> > hardcoded colors, that btw. still need some
tuning).
>
> I guess you're aware of this, but better safe than
sorry: Hardcoded
> colors need to vanish before the first beta.

I don't know. The important thing is that we get as many
colors as possible, 
that they are as distinguishable as possible. So the
hard-coded colors 
actually are a linear choice from all available colors, with
a distance from 
each other that makes them still distinguishable, and with
the same 
brightness for all of them. I don't know what we should
compute automatically 
about this. Maybe it would make sense, so we could make
configurable how many 
colors there are(and thus how distinguishable they are, and
how many 
different variables can be highlighted). A thing we might
need to do is 
transforming them so they are very bright if the editor
background-color is 
black.

greetings, David

_______________________________________________
KDevelop-devel mailing list
KDevelop-develkdevelop.org
https://barney.cs.uni-potsdam.de/mailman/listinf
o/kdevelop-devel

[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )