[MonoDevelop] Some questions
Jacob Ilsø Christensen
jacobilsoe at gmail.com
Thu Mar 2 15:41:53 EST 2006
Hi.
I am afraid I don't know exactly what you want to do. In this example:
void M()
{
int a;
int b;|
int c;
}
The cursor is indicated by |. Is what you want to retrieve this piece of code:
int a;
int b;
?
/Jacob
On 3/2/06, Alejandro Serrano <trupill at yahoo.es> wrote:
> Hi again,
> Well, my real need to address is to take the code from the start of the
> method body to the cursor location, because the parser I'm using uses
> this information. So, as I have already coded the Parse method to obtain
> Class View, I though the best way was to iterate all over the classes
> and find the actual method. However, if there's a better way to do it,
> it would be very welcome.
>
> Thanks,
> Alejandro
>
> Jacob Ilsø Christensen escribió:
> > Hi.
> >
> > Is the problem that you only have the line and column and not an
> > expression to give to IParser.Resolve?
> >
> > /Jacob
> >
> > On 3/2/06, Alejandro Serrano <trupill at yahoo.es> wrote:
> >
> >> Hi,
> >> I have some questionf for add-in development:
> >> - Is there a better way to know the method where the cursor is, other
> >> than iterate all through the IClasses being inside the IParser.Resolve
> >> method?
> >> - What's the best way to take the code from a line-column to other
> >> line-column? I guess there's some method for it, but I can't find it...
> >>
> >> Thanks in advance,
> >> Alejandro
> >>
> >>
> >> ______________________________________________
> >> LLama Gratis a cualquier PC del Mundo.
> >> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> >> http://es.voice.yahoo.com
> >> _______________________________________________
> >> Monodevelop-list mailing list
> >> Monodevelop-list at lists.ximian.com
> >> http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >>
> >>
> >
> >
>
>
>
>
>
> ______________________________________________
> LLama Gratis a cualquier PC del Mundo.
> Llamadas a fijos y móviles desde 1 céntimo por minuto.
> http://es.voice.yahoo.com
>
>
More information about the Monodevelop-list
mailing list