system/src/sc/layer/LayeredSystem.java
public Object refresh(SrcEntry srcEnt, ExecutionContext ctx) {
      // Not using the language model here since that will automatically load the new file
      ILanguageModel oldModel = modelIndex.get(srcEnt.absFileName);
      UpdateInstanceInfo info = newUpdateInstanceInfo();
      Object res = refresh(srcEnt, oldModel, ctx, info, true);
      info.updateInstances(ctx);
      return res;
   }
/** Refreshes one file and applies the changes immediately */
Refreshes one file and applies the changes immediately
Refreshes one file and applies the changes immediately
public Object refresh(SrcEntry srcEnt, ExecutionContext ctx) {
      ILanguageModel oldModel = modelIndex.get(srcEnt.absFileName);
      UpdateInstanceInfo info = newUpdateInstanceInfo();
      Object res = refresh(srcEnt, oldModel, ctx, info, true);
      info.updateInstances(ctx);
      return res;
   }
public Object refresh ( SrcEntry srcEnt , ExecutionContext ctx ) { ILanguageModel oldModel = modelIndex . get ( srcEnt . absFileName ) ; UpdateInstanceInfo info = newUpdateInstanceInfo ( ) ; Object res = refresh ( srcEnt , oldModel , ctx , info , true ) ; info . updateInstances ( ctx ) ; return res ; }
Refreshes one file and applies the changes immediately
Refreshes one file and applies the changes immediately
// Not using the language model here since that will automatically load the new file