Refactored editor setup code into a single SetupEditorPreference method.
Refactored editor setup code into a single SetupEditorPreference method.

wkitty42/fpGUI,wkitty42/fpGUI,wkitty42/fpGUI,wkitty42/fpGUI,wkitty42/fpGUI,wkitty42/fpGUI