[MonoDevelop] Null reference exception in TextEditor.VAdjustmentValueChanged
"Andrés G. Aragoneses"
knocte at gmail.com
Wed Nov 19 14:04:17 EST 2008
simozzer wrote:
> Hiya folks,
>
> When using web projects I have experienced a recurring exception in
What version of MonoDevelop are you using? Can you provide the exception
log you may get if you run MonoDevelop on the console?
> '/monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor/TextEditor.cs'
> which can be avoided with a small patch. My changes are highlighted in bold
> below..
Please use "svn diff" to provide patches. And use bugzilla for reporting
this problems.
Thanks!
Andrés
> Alter the file:
> /monodevelop/main/src/addins/Mono.Texteditor/Mono.TextEditor/TextEditor.cs
>
>
> void VAdjustmentValueChanged (object sender, EventArgs args)
> {
> repaint = true;
> // this.QueueDraw ();
> // return;
> if (buffer == null)
> AllocateWindowBuffer (this.Allocation);
>
> /* After calling AllocateWindoBuffer buffer still ==
> null (because !IsRealized) */
> if (buffer == null) return;
>
> .....
>
>
> Cheers
>
> Mozzy
>
More information about the Monodevelop-list
mailing list