Re: [gedit-list] GtkSourceCompletion



The reason of this place iter is because we want it to place it at the beggining of the word.
In case you want the previous behaviour (cursor position) you just need to pass NULL
to the iter.

Regards.

On Fri, Apr 24, 2009 at 1:14 AM, Perriman <chuchiperriman gmail com> wrote:
Hi all,

       I'm looking gtksourcecompletion changes and I don't like the "place"
iter:

gboolean gtk_source_completin_show (GtkSourceCompletion  *completion,
                                   GList                *providers,
                                   const gchar          *criteria,
                                   GtkTextIter          *place);

I don't know why you want to pass a "place" iter. The place will be the
"insert" iter in the most of cases and, if you would like to set the
position in other place, the usual places are centered on view, centered
on screen, on top, etc, but (IMO) not another GtkTextIter.

What do you think? It will be cool if we can set the popup position
centered on screen or view :)  (to complete things like the open/recent
documents, symbols "goto" etc.)

Regards,
       Perriman

_______________________________________________
gedit-list mailing list
gedit-list gnome org
http://mail.gnome.org/mailman/listinfo/gedit-list



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