IDE-1655 fixed the problem that layout editor preview page doesn't release cpu
- don't set font if the new correct one is the same as old one
IDE-1655 sort methods