Cpp Parser & multibyte chars (bug 274430)

Aleix Pol aleixpol at kde.org
Sun Nov 20 10:13:02 UTC 2011


On 11/20/2011 09:38 AM, Andreas Pakulat wrote:
> On 19.11.11 19:09:07, David Nolden wrote:
>> Using QString is not an option, because it not only affects memory-usage,
>> but also efficiency.
> Whats the efficiency problem with QString here? After all indexing into
> it to get a QChar out should be O(1), right?
>
>> It shouldn't be too complicated though to map ranges regarding utf8 when
>> doing the highlighting in the editor.
> Then you break things for anybody not using utf-8 which is just as
> valid as a source file encoding.
>
> Andreas
>
>
Now it's broken for people using utf8 apparently, so I don't think it's 
a valid concern.

Aleix




More information about the KDevelop-devel mailing list