public void reloadAllEditors(int delay) {
for (IDynamicLanguageService service : getActiveServices()) {
try {
if (service instanceof DynamicParseController) {
SGLRParseController controller = (SGLRParseController) ((DynamicParseController) service).getWrapped();
simpleClearCache(controller);
controller.scheduleParserUpdate(delay, false);
} else {
service.reinitialize(this);
}
} catch (BadDescriptorException e) {
Environment.logWarning("Unable to reinitialize service", e);