[Gambas-user] Error on gb.settigs
Benoit Minisini
gambas at ...1...
Tue Mar 11 01:13:08 CET 2008
On mardi 11 mars 2008, Benoit Minisini wrote:
> On lundi 10 mars 2008, David Villalobos Cambronero wrote:
> > Hi all,
> >
> > I think I found an error on gb.settings. Attached is an example, just
> > run the program, press the button and see the text inside the TextArea
> > control, then, go to your $HOME/.config/gambas directory and compare the
> > text inside the NewLine.conf file with the file called "Archivo" in the
> > project directoty.
> >
> > What I get is an extra Slash "\" for every GB.NewLine.
> >
> > Can someone validate please?
> >
> > I use Gambas 2.2.1 on Mandriva 2008, 32 bits.
> >
> > Best regards.
> >
> > David
>
> This is normal, strings are quoted inside settings files.
But you are right, there are too many slashes, because the Settings class uses
a strange quoting function. This will be fixed in the 3.0 version: the
standard Gambas Quote class methods will be used.
Regards,
--
Benoit Minisini
More information about the User
mailing list