Re: [gnome-love] tags and arguments highlight



OK. Thanks. I will try it.

On 8/2/07, Nickolay V. Shmyrev <nshmyrev yandex ru> wrote:
В Срд, 01/08/2007 в 10:30 +0200, Nacho пишет:
> Any help with this?
> http://svn.gnome.org/viewcvs/gtranslator/trunk/src/args-tags.c?revision=3180&view=markup
>
> It is working but is needed lot of cpu when the string is long.
>
> Regards.

1. There are things like profilers which can show you the root of the
problem much faster. You should use development tools available.

2. Easy optimization - why not combine regexes and go through the text
only once?

3. Why not use GtkSourceView for that?





[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]