split code prefs into editing and display