[MonoDevelop] GTK designer query ( Marcos Mar?n )

Hector E. Gomez Morales hectoregm at gmail.com
Mon Jul 9 14:17:34 EDT 2007


Hi, maybe I am miss-reading your post but the buffer should show up if
you are using de designer, about the part about the intellisense the
buffer will not show up because the designer uses a default constructor
for TextView that creates internally a TextBuffer and associates to the
View. To access this buffer you have to use a property accesor in TextView:

Textbuffer buffer = view.Buffer;

Sometimes I see that the designer borks out and produces bad code you
can delete the genererated *cs files and make MD regenerate the files.

Hector

Tom Potts wrote:
>>> If you use a TextView in the MD designer you can enter
>>> the initial text in the Widget Properties editor but
>>> you cannot see the Buffer that it goes into.
>>> The Buffer is not displayed in the 'intellisense'
>>> autocomplete of the sourcecode editor either (or for
>>> any other widgets - I presume this is due to partial
>>> classes not being implemented fully in the editor -
>>> will that happen?
> 
> 
>> It is displayed in my MD, I'm using  0.14, perhaps you are using an old
>> version?
> 
> Buffer is not diplayed in my 0.14 version (or 0.12)
> Tom
> 
> _______________________________________________
> 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