first editor functions, font setting