2006/9/15, Mattias Gaertner <[EMAIL PROTECTED]>:
On Fri, 15 Sep 2006 15:04:21 -0400
"Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:
> 2006/9/15, Mattias Gaertner <[EMAIL PROTECTED]>:
> > On Fri, 15 Sep 2006 14:22:25 -0400
> > "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:
> >
> > > 2006/9/15, Mattias Gaertner <[EMAIL PROTECTED]>:
> > > > On Fri, 15 Sep 2006 14:11:00 -0400
> > > > "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:
> > > >
> > > > > 2006/9/15, Mattias Gaertner <[EMAIL PROTECTED]>:
> > > > > > On Fri, 15 Sep 2006 12:55:33 -0400
> > > > > > "Alexandre Leclerc" <[EMAIL PROTECTED]> wrote:
> > > > > >
> > > > > > > Property in .lfm is:
> > > > > > > WideDefaultText =
> > > > > > > it was (before last update):
> > > > > > > WideDefaultText = ''
> > > > > > >
> > > > > > > This is causing problems; I think you actually fixed that
> > > > > > > many weeks ago.
> > > > > >
> > > > > > Yes, it looks familiar. That's why I want to make sure it
> > > > > > is the same bug or a new one.
> > > > >
> > > > > Old or new it's there ;) I'm on revision 9874 and 4617 for
> > > > > FPC.
> > > > >
> > > > > The property is from VTV.
> > > > >
> > > > > > See
> > > > > > lazarus/examples/widestringstreaming/widestringstreaming.lpi
> > > > >
> > > > > I do not see what I have to see there... ? (sorry)
> > > >
> > > > Compile the project and start it.
> > > > Click on the button 'Write AGRoupBox to stream'.
> > > > Check show stream in LFM format.
> > > > I see a line
> > > > WideDefaultText = ''
> > > >
> > > > What do you see?
> > >
> > > Ah! I see! Well... I see:
> > > WideDefaultText =
> > >
> > > A sad story. :) So would that be old or new?
> >
> > Please make sure, that you have no old files in your lazarus source.
> > Remove the lcl/lresources.pp and update your svn.
> > At line 1828 there should be
> > end else begin
> > res:='''''';
> > end;
>
> That is true, the patch was in lresources.pp. I'm always updating svn
> then exporting the source to a clean folder before compiling.
Why that?
It is not that much usefull I know; but I do not always have
well-working svn version, so I did a separation from my 'stable'
working lazarus and the svn version. SO I sync svn any time, then
export & compile. If all is good, I keep the newset version. I did the
same for FPC and for 3 months the debugger was not working nice; now
it does, but I never disturbed my 'working' copy -- I'm always on
production, so I cant' afford a broken version :)
> So my latest lresources.pp is correct:
>
> in my actual lazarus/lcl/lresources.pp:
> 1827 if InString then res := res + '''';
> 1828 end else begin
> 1829 res:='''''';
>
> in my svn lazarus/lcl/lresources.pp:
> 1827 if InString then res := res + '''';
> 1828 end else begin
> 1829 res:='''''';
>
> So I guess, this is something else.
Yes.
It works here, but not for you. But at least you know now, where to
start debugging.
Add some debugln and try to find out, why res remains empty.
Compiling the LCL and the example should be fast.
Yep, thank you for the help. I'll look at that to try to find the problem.
--
Alexandre Leclerc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives