[Gambas-user] editor Find/Replace tool bug

Benoit Minisini gambas at ...1...
Sat Jun 10 17:02:09 CEST 2006


On Saturday 10 June 2006 16:50, Stefano Palmeri wrote:
> Alle 02:43, sabato 10 giugno 2006, Ron Onstenk ha scritto:
> > On Saturday 10 June 2006 00:43, Stefano Palmeri wrote:
> > > Hi, Benoit.
> > >
> > > In Gambas 1.9.31, when editing a class and using the
> > > Find/Replace tool to replace some text, I raise this error:
> > >
> > > FFind.?.0: #16: '.Editor.Selection.Text' is read only
> > >
> > >
> > > Gambas2 crashes at this line in FFind.class:
> > >
> > >    .Selection.Text = $sReplace
> > >
> > > (of the 'DoSearch' function).
> > >
> > > Saluti,
> > >
> > > Stefano Palmeri
> >
> > Are you try to do it on a readonly example?
> >
> > Ron
>
> It seems that it's a general bug that you can observe in any project...
>
> Saluti,
>
> Stefano
>

It is fixed in the next version. Replace every occurrence of ".Selection.Text 
= xxx" by ".Insert(xxx)"

Regards,

-- 
Benoit Minisini




More information about the User mailing list