Re: [gedit-list] Completion survey
- From: Perriman <chuchiperriman gmail com>
- To: Andrea Del Signore <sejerpz tin it>
- Cc: gedit-list gnome org, gnome-devtools gnome org
- Subject: Re: [gedit-list] Completion survey
- Date: Tue, 25 Nov 2008 01:55:54 +0100
Hi Andrea,
A few days ago, I have added some new useful functions for you
(and all). With this code, you can hide the bottom bar (if you want) and
set the filter text without showing the filter entry (woh!!! I love my
english :):
GscManagerEventOptions opts;
gsc_manager_get_current_event_options(comp,&opts);
opts.filter_type = GSC_POPUP_FILTER_TREE_HIDDEN;
opts.filter_text = "the new filter text";
opts.show_bottom_bar = FALSE;
gsc_manager_update_event_options(comp,&opts);
If you have some problems, please, make me know.
Regards,
El Mon, 10 Nov 2008 14:01:45 +0100
Andrea Del Signore <sejerpz tin it> escribió:
> On Mon, 2008-11-10 at 01:16 +0100, Perriman wrote:
> > Hi Andrea!!
> Hi Perriman,
>
> >
> > Woh!!! I like vtg!!
> Thanks but there is still a lot of work left to do ;)
>
>
> > I currently have GscTriggerAutowords. This trigger call to
> > completion when the user writes directly in the GtkTextView with a
> > delay.
> >
> > Really, this trigger call to a new completion when the user writes a
> > new character instead of call to completion once and when the user
> > writes a new character, filter the current content (with the
> > filter).
> >
> > I will add a new filter type to the popup. Something like
> > "HIDDEN_FILTER" and you can call to completion once and then change
> > the current filter by code without display the filter widget and
> > without get the focus. With that you could show the popup without
> > the filter visible and the user can write into the GtkTextView an
> > you can modify the filter programmatically.
>
> Cool! This is what I asked for. Thanks.
>
>
> > I will change an internal management of the apply signal in the
> > proposal. I think this is very slow because when you create a new
> > Proposal, it register an apply signal with a default function. I
> > will remove this apply signal in the proposal and I will add a new
> > apply function in the iface and, If you want to change the default
> > apply function, you will must to overwrite this function instead of
> > connect to the proposal apply signal. I think it is a lot of faster
> > than register and connect to a signal.
>
> I offer my help to test the new implementation when ready.
>
> For now my solution is to build a cache of 500 Proposal items on
> plugin instantiation.
>
> > Sorry, It was my first package and I had a lot of problems and
> > forget clean the debug messages.
> >
> No problem ;)
> I appreciated the packages availability a lot!
>
> > >
> > >
> > > Have a nice day and thanks for all your work. Regards,
> > > Andrea
> > >
> > > P.S.
> > > I think that the Devhelp plugin will be great if integrated in a
> > > "calltip" component.
> >
> > +1
> >
> > Regards,
> > Perriman
>
> Ciao,
> Andrea
>
> P.S.
> If you need to contact me on IRC I'm usually around gnome and vala
> channels on GIMPNet with the nick sejerpz
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]