On Wed, 22 Feb 2006 17:55:18 +0100
Micha Nelissen <[EMAIL PROTECTED]> wrote:
> Mattias Gaertner wrote:
> > I added the ability to improve messages by the quick fix items.
> > As first example, I added an item, which improves compiler messages of
> > the form:
> >
> > test1.lpr(1,1) Fatal: Can't find unit bogus
> >
> > to
> >
> > test1.lpr(9,39) Fatal: Can't find unit bogus
> >
> > That means, the source editor now jumps to the position in the uses
> > section.
>
> Isn't it better to request the compiler to be fixed ? :-)
Well, it's not really a bug in fpc. FPC writes:
Fatal: Can't find unit bogus
The IDE parser guesses from the context, that this message applies to
test1.lpr and uses the default position (1,1). So the quick fix item
improves this further by asking the codetools.
Mattias
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives