Hi,
There is a small problem with the various/hidden preferences editor, namely with the statusbar_template default value. The options are:
1. Display/edit an empty default value. Requires no changes in Geany, but is not very convenient: you must read the documentation and find the default for your language, probably in the .po files. Well you must do that currently for if editing the [empty] value in geany.conf.
2. Display/edit the real default value. Requires minimal changes, currently implemented in the various editor patch, but that value will be saved in geany.conf, even without being edited. So if the LANG is changed, the old value will still be used, and you'll have to open Edit -> Preferences -> Various, right-click statusbar_template and choose Reset. Hopefully the LANG changes will be rare.
3. Display/edit the real default value, but save it as empty if it matches the default. Convinient, but requires several hacks, especially if the editor will support right-click and Reset to default.
RFC. I'm against option 3.
RFC. I'm against option 3.
The various prefs is only providing more convenient editing of "hidden" (lets say less often used) prefs so I vote for 1.
If it is desired for a pref to have "smart" handling then it should be moved out of various into the prefs proper.
Cheers Lex
Le 24/06/2011 01:40, Lex Trotman a écrit :
RFC. I'm against option 3.
The various prefs is only providing more convenient editing of "hidden" (lets say less often used) prefs so I vote for 1.
If it is desired for a pref to have "smart" handling then it should be moved out of various into the prefs proper.
+1. I think it's not worth doing 3, and you know I don't really like 2 ^^
Cheers, Colomban