new feature: set and use default font

1. add preference font selection tab
2. init editor every time when view document