Moving editor's partition operations in class
Minor refactoring in editor refreshing