[MonoDevelop] [Patch] On-the-fly parsing support for MonoDevelop
Jérémie Laval
jeremie.laval at gmail.com
Thu Sep 20 08:57:20 EDT 2007
Some up-to-date things :) .
Attached is the patch that add the "visual" part of autocorrection to
Monodevelop (as the core changes are already in Monodevelop SVN). To apply
it go to "$basedir/monodevelop/Extras/MonoDevelop.SourceEditor" and patch
with "cat SourceEditor.patch | patch -p0".
If you have any suggestion either on the code or the visual aspect ping me
;) .
2007/9/13, Lluis Sanchez <lluis at ximian.com>:
>
> Hey Jérémie,
>
> The code looks great, thanks! A few comments:
>
> * Commented code like this should be removed:
>
> + /*string errorType = (type ==
> ErrorType.Syntaxic) ? "synError" : "semError";*/
>
> * You should unsubscribe ParseInformationChanged event when the
> SourceEditorView is disposed, or you'll be holding the editor
> object in memory forever.
> * I can't see the tooltip, it's never shown.
> * To commit the code we need the corresponding ChangeLog entries.
>
> Thanks,
> Lluis.
>
> El dj 13 de 09 del 2007 a les 13:16 +0200, en/na Jérémie / Garuma / Kiri
> va escriure:
> > Hello everybody,
> >
> > This patch implements the necessary bits to retrieve parsing errors
> > from NRefactory and the associated methods to show them to the user by
> > both underlining the errors in the text editor and displaying error's
> > description in the normal editor tooltips.
> >
> > Thanks.
> >
> > LAVAL Jérémie
> > jeremie.laval at gmail.com
> > http://garuma.wordpress.com
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070920/6bb066f1/attachment-0001.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SourceEditor.patch
Type: text/x-patch
Size: 13190 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monodevelop-list/attachments/20070920/6bb066f1/attachment-0001.bin
More information about the Monodevelop-list
mailing list