[MonoDevelop] ClassPad fix

Jacob Ilsø Christensen jacobilsoe at gmail.com
Fri Jun 17 14:40:57 EDT 2005


Hi.

I changed the C# Lexer instead. The attached patch makes the ClassPad
work as it should. Does anyone know if this will impact other parts of
MD?

/Jacob

On 6/17/05, Jacob Ilsø Christensen <jacobilsoe at gmail.com> wrote:
> Yeah, you're right. It's the C# Parser that has a problem. So it
> should be fixed there and not  in the Class Pad. I'll have a look.
> 
> /Jacob
> 
> On 6/17/05, Peter Johanson <latexer at gentoo.org> wrote:
> > On Fri, Jun 17, 2005 at 08:41:58AM +0200, Jacob Ils? Christensen wrote:
> > > I think it is the Parser which starts off a source code file at line 0
> > > and not line 1. Not sure though. Will have a look.
> >
> > As someone who has spent a *lot* of time on the Boo parser recently
> > (which has a fix for this already, and actually points to the right
> > line), can we say "it is the C# Parser which starts off". Please don't forget
> > that MD is multi-language, and changes affect more than "the Parser".
> >
> > Not trying to be nit picky, just trying to make sure some scope isn't
> > lost. (:
> >
> > -pete
> >
> > >
> > > /Jacob
> > >
> > > On 6/17/05, Todd Berman <tberman at off.net> wrote:
> > > > On Thu, 2005-06-16 at 18:05 +0200, Jacob Ils? Christensen wrote:
> > > > > Hi.
> > > > >
> > > > > When you use the class pad to jump to a field, method etc. the line is
> > > > > one off. The attached patch fixes this. Looks ok to commit?
> > > > >
> > > >
> > > > The patch itself looks fine, but I am curious why we are off by 1. Is
> > > > this maybe more indicative of a deeper issue?
> > > >
> > > > --Todd
> > > >
> > > >
> > > _______________________________________________
> > > Monodevelop-list mailing list
> > > Monodevelop-list at lists.ximian.com
> > > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> > >
> >
> > --
> > Peter Johanson
> > <latexer at gentoo.org>
> > _______________________________________________
> > Monodevelop-list mailing list
> > Monodevelop-list at lists.ximian.com
> > http://lists.ximian.com/mailman/listinfo/monodevelop-list
> >
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: class-pad-jump-to.patch
Type: text/x-patch
Size: 474 bytes
Desc: not available
Url : http://galactus.ximian.com/pipermail/monodevelop-list/attachments/20050617/c444fbf1/class-pad-jump-to.bin


More information about the Monodevelop-list mailing list