Helper methods for editor handling