List Info

Thread: On-the-fly parsing support for MonoDevelop




On-the-fly parsing support for MonoDevelop
user name
2007-09-13 06:16:54
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.lavalgmail.com">jeremie.lavalgmail.com
http://garuma.wordpress.com
  
Re: On-the-fly parsing support for MonoDevelop
user name
2007-09-13 09:49:09
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.lavalgmail.com
> http://garuma.wordpress.c
om
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-listlists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

Re: On-the-fly parsing support for MonoDevelop
user name
2007-09-20 07:57:20
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 < lluisximian.com">lluisximian.com>:
Hey Jérémie,

The code looks great, thanks! A few comments:

 &nbsp; &nbsp; &nbsp;* Commented code like this should be removed:

+ &nbsp; &nbsp; &nbsp; &nbsp;   ; &nbsp; &nbsp; &nbsp; &nbsp;   ; /*string errorType = (type ==
ErrorType.Syntaxic) ? "synError" : "semError";*/

 ; &nbsp; &nbsp; * You should unsubscribe ParseInformationChanged event when the
   ; &nbsp; &nbsp; SourceEditorView is disposed, or you'll be holding the editor
&nbsp; &nbsp; &nbsp;   ;object in memory forever.
&nbsp;   ; &nbsp;* I can't see the tooltip, it's never shown.
&nbsp;   ; &nbsp;* 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.
&gt;
> LAVAL Jérémie
&gt; jeremie.lavalgmail.com">jeremie.lavalgmail.com
> http://garuma.wordpress.com
&gt; _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-listlists.ximian.com">Monodevelop-listlists.ximian.com
&gt; http://lists.ximian.com/mailman/listinfo/monodevelop-list


  
Re: On-the-fly parsing support for MonoDevelop
country flaguser name
France
2007-09-20 09:19:11
Attached is an updated version which comply to Mono coding
Guidelines
(no code change).

Le Thu, 20 Sep 2007 14:57:20 +0200,
"Jérémie Laval" <jeremie.lavalgmail.com> a écrit :

> 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&q
uot;
> 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 <lluisximian.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.lavalgmail.com
> > > http://garuma.wordpress.c
om
> > >
_______________________________________________
> > > Monodevelop-list mailing list
> > > Monodevelop-listlists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
> >
> >
-- 
LAVAL Jérémie
jeremie.lavalgmail.com
http://garuma.wordpress.c
om

_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

  
Re: On-the-fly parsing support for MonoDevelop
user name
2007-09-21 07:21:12
Can you provide the ChangeLog for those changes? I'm going
to commit.

Thanks!
Lluis.

El dj 20 de 09 del 2007 a les 16:19 +0200, en/na Jérémie
LAVAL va
escriure:
> Attached is an updated version which comply to Mono
coding Guidelines
> (no code change).
> 
> Le Thu, 20 Sep 2007 14:57:20 +0200,
> "Jérémie Laval" <jeremie.lavalgmail.com> a écrit :
> 
> > 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&q
uot;
> > 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 <lluisximian.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.lavalgmail.com
> > > > http://garuma.wordpress.c
om
> > > >
_______________________________________________
> > > > Monodevelop-list mailing list
> > > > Monodevelop-listlists.ximian.com
> > > > http://lists.ximian.com/mailman/listinfo/monodevelop-li
st
> > >
> > >
> _______________________________________________
> Monodevelop-list mailing list
> Monodevelop-listlists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

_______________________________________________
Monodevelop-list mailing list
Monodevelop-listlists.ximian.com
http://lists.ximian.com/mailman/listinfo/monodevelop-li
st

[1-5]

about | contact  Other archives ( Real Estate discussion Medical topics )