[MonoDevelop] text editor patch for simple class/member selector

Atsushi Eno atsushi at ximian.com
Sat Jan 13 13:19:25 EST 2007


Hi,

I don't think ComboBox does not support it, unlike TreeView. But I'm
kind of Gtk newbie so I might be wrong ;)

Atsushi Eno

Jacob Ilsø Christensen wrote:
> Hi.
>
> Is it possible to add functionality so you can start typing the name
> of the member and have the combo box select the member on the fly? A
> bit like the go to type dialog.
>
> /Jacob
>
> On 1/8/07, atsushi eno <atsushi at ximian.com> wrote:
>> Hello,
>>
>> 2007-01-08 (月) の 16:40 +0100 に "Andrés G. Aragoneses [ knocte ]" さん
>> は書きました:
>> > Hey atsushi, this is a great feature! Just my two cents:
>>
>> Thanks :)
>>
>> > - Why not get the best of both worlds? If there is more than one class
>> > in the file, show two comboboxes, but if not, show one.
>>
>> Hmm, I don't think it is worthy of introducing complexity for it. It
>> will be like, when you add a new class to the source, another combobox
>> will suddenly appear, and when you remove it, the combobox will also
>> disappear. Such behavior would look rather weird than cool.
>> If we still decide to go that way, my patch does not fit with such
>> behavior, since my strategy is to populate the list when the combobox is
>> focused (unlike the one from James that Michael pointed).
>>
>> > And I would go for hiding some information so as to avoid large
>> combobox
>> > entries. For example I would hide keywords, pre-namespaces and type
>> > returned. Then, instead of:
>> >
>> > virtual MonoDevelop.Ide.Gui.IViewContent
>> CreateContentForMimeType(string
>> >   mimeType, System.IO.Stream content)
>> >
>> > Just:
>> >
>> > CreateContentForMimeType(strint mimeType, Stream content)
>>
>> Yeah, I wanted short formatting too. After short digging I found that
>> there is ConversionFlags.QualifiedNamesOnlyForReturnTypes to make it
>> possible :-)
>>
>> I will post another patch for dual combobox when I'm done with it.
>>
>> Atsushi Eno
>>
>>
>> _______________________________________________
>> Monodevelop-list mailing list
>> Monodevelop-list at lists.ximian.com
>> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>>
> ------------------------------------------------------------------------
>
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-list at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-list
>   



More information about the Monodevelop-list mailing list