[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kwrite-devel
Subject:    Re: qt4.xml -> qt.xml
From:       Sven Brauch <svenbrauch () googlemail ! com>
Date:       2014-02-23 9:16:41
Message-ID: 2897481.PbJhFZs0Bv () localhost ! localdomain
[Download RAW message or body]

Hi,

On Saturday 22 February 2014 18:42:13 Milian Wolff wrote:
> Opinions?
I agree with you. The differences between languages are minimal on the kate 
highlighting level and do not justify the extra pain for users and developers 
which is caused by maintaining two versions of the highlighting files.

In Python, yes, the differences are very noticeable, but barely any of it can 
be detected on the highlighter level. Especially since people often write 
Python 3 compat layers nowadays to have Python 3 functions available in Python 
2 code too, which makes the distinction extra useless.

That something is highlighted by far doesn't mean it can indeed be used 
anyways. I can come up with hundreds of cases where something is highlighted 
but can't be used like that. The kate highlighting is a rough help for reading 
code, not a semantics checker.

I think the distinction between the C++ highlighter and the C++/Qt highlighter 
is useless already. Who cares about the occasional oddity of having a Qt 
keyword highlighted somewhere -- I certainly don't. By splitting it into a C++ 
and a C++/Qt highlighter and making the C++ one default you'll take Qt 
highlighting away from 90% of users who will be too lazy or too stupid (in the 
"I didn't know that existed" sense) to change to the Qt one. Why not at least 
have the Qt one be the default, btw? People who care can then change away from 
it and that will affect less people than the other way round.
.kateconfig files are imo not an argument, because -- let's face it -- most 
people are not going to use them. It pushes the "Kate as an IDE" use case, 
which is certainly nice for some people but the majority of users will not use 
kate like that in the forseeable future (also, is this IDE use case now kate's 
new main focus? I hope not). And I'd like highlighting to be as good as 
possible for them out-of-the-box.

Greetings!
_______________________________________________
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