[Gambas-user] gb.settings comments deleted

Lewis Balentine lewis at ...3412...
Fri Dec 5 12:07:18 CET 2014


When settings are written back to the ".conf" file all comments/remarks 
are stripped from the file.
Should not the documentation include a warning to this effect?
Better yet would be to keep those comments/remarks intact.

example incoming:
[slot]
; remark
# remark
; comment
Value0ne =1
ValueTwo =2
ValueThree =3
# end of file

example outgoing:
[slot]
Value0ne =1
ValueTwo =2
ValueThree =3

regards,

Lewis

[System]
Gambas=3.6.2
OperatingSystem=Linux
Kernel=3.13.0-24-generic
Architecture=x86_64
Distribution=Linux Mint 17 Qiana
Desktop=MATE
Theme=QGtk
Language=en_US.UTF-8
Memory=15994M
[Libraries]
Cairo=libcairo.so.2.11301.0
Curl=libcurl.so.4.3.0
DBus=libdbus-1.so.3.7.6
GStreamer=libgstreamer-0.10.so.0.30.0
GStreamer=libgstreamer-1.0.so.0.204.0
GTK+3=libgtk-3.so.0.1000.8
GTK+=libgtk-x11-2.0.so.0.2400.23
OpenGL=libGL.so.1.2.0
Poppler=libpoppler.so.44.0.0
Qt4=libQtCore.so.4.8.6
SDL=libSDL-1.2.so.0.11.4




More information about the User mailing list