Re: [Geany-devel] Questions on inserting text & indentation

2010-04-29 Thread Colomban Wendling
Nick Treleaven a écrit : > On Thu, 29 Apr 2010 19:13:25 +0200 > Colomban Wendling wrote: > >>> Can you give a code example of what you're trying to do? >> The real code can be found only through SF's VC viewer: >> http://geany-plugins.svn.sourceforge.net/viewvc/geany-plugins/trunk/geanygendoc/src

Re: [Geany-devel] Questions on inserting text & indentation

2010-04-29 Thread Nick Treleaven
On Thu, 29 Apr 2010 19:13:25 +0200 Colomban Wendling wrote: > > Can you give a code example of what you're trying to do? > The real code can be found only through SF's VC viewer: > http://geany-plugins.svn.sourceforge.net/viewvc/geany-plugins/trunk/geanygendoc/src/ggd.c?revision=1316&view=markup#

Re: [Geany-devel] Questions on inserting text & indentation

2010-04-29 Thread Colomban Wendling
Nick Treleaven a écrit : > On Thu, 29 Apr 2010 00:28:02 +0200 > Colomban Wendling wrote: > >> In my GeanyGenDoc plugin I was using sci_insert_text() to insert the >> generated documentation comment; but I wanted to be able to indent the >> inserted comment to follow the indentation at the inserti

Re: [Geany-devel] [patch] Improved documents list sorting

2010-04-29 Thread Thomas Martitz
Am 29.04.2010 17:46, schrieb Enrico Tröger: On Wed, 28 Apr 2010 14:08:47 +0200, Colomban wrote: Thomas Martitz a écrit : 40 seconds for 235 files here. Still largely annoying, I frequently switch projects which is basically a pain. This 235 are part of a project. A real one which I u

Re: [Geany-devel] GtkRecentManager slowness - Re: [patch] Improved documents list sorting

2010-04-29 Thread Colomban Wendling
Nick Treleaven a écrit : > On Thu, 29 Apr 2010 17:46:45 +0200 > Enrico Tröger wrote: > >>> Yes, I think it could be a (hidden?) option at least until it got fixed >>> at the GTK level. Note that anyway it is only available if Geany was >>> compiled against GTK >= 2.12. >> Which is probably true f

[Geany-devel] GtkRecentManager slowness - Re: [patch] Improved documents list sorting

2010-04-29 Thread Nick Treleaven
On Thu, 29 Apr 2010 17:46:45 +0200 Enrico Tröger wrote: > >Yes, I think it could be a (hidden?) option at least until it got fixed > >at the GTK level. Note that anyway it is only available if Geany was > >compiled against GTK >= 2.12. > > Which is probably true for most Geany users (using GTK >

Re: [Geany-devel] [patch] Improved documents list sorting

2010-04-29 Thread Enrico Tröger
On Wed, 28 Apr 2010 14:08:47 +0200, Colomban wrote: >Thomas Martitz a écrit : >>> 40 seconds for 235 files here. Still largely annoying, I frequently >>> switch projects which is basically a pain. This 235 are part of a >>> project. A real one which I use, not just a test case. >>> >>> Can the rec

[Geany-devel] GtkRecentManager slowness (was: Re: [patch] Improved documents list sorting)

2010-04-29 Thread Enrico Tröger
On Wed, 28 Apr 2010 14:08:12 +0200, Colomban wrote: >Colomban Wendling a écrit : I noticed this long time ago already and it's quite annoying and needs to be fixed. My first guess without having done any investigations, we are doing too much UI updating stuff on bulk loading of

Re: [Geany-devel] Questions on inserting text & indentation

2010-04-29 Thread Nick Treleaven
On Thu, 29 Apr 2010 00:28:02 +0200 Colomban Wendling wrote: > In my GeanyGenDoc plugin I was using sci_insert_text() to insert the > generated documentation comment; but I wanted to be able to indent the > inserted comment to follow the indentation at the insertion position. > > I found editor_i