Page 1 of 1

[Implemented] OpenPreferences(), optional flags

Posted: Mon Oct 29, 2007 8:16 am
by horst
I would very much appreciate optional flags for Open/CreatePreferences(), that will affect writing preference data:

#PB_Preferences_NoSpace - no spaces around the equal signs

#PB_Preferences_GroupSeparators - make sure there is an empty line before each Group (except first)

Posted: Mon Oct 29, 2007 9:18 am
by DoubleDutch
This would be good, I hate the spaces around equial signs. The blank line would be a nice touch too.

Posted: Mon Oct 29, 2007 1:19 pm
by Joakim Christiansen
+1

Posted: Tue Oct 30, 2007 12:56 am
by naw
I would also like a flag that specifies wether there are speech marks around values for reading / writing - eg:

[mysection]
ITEM1 = "some text"
ITEM2 = "some more text"
ITEM3 = "some
text that
spreads over
several lines"
ITEM4 = "the last piece of text"