рефакторинг. переносил текущие объекты в другое место

This commit is contained in:
2024-10-13 22:08:13 +03:00
parent 09b64218bd
commit 6afa2dc892
240 changed files with 1472 additions and 1518 deletions

View File

@@ -15,7 +15,7 @@ public class SPF_InlineProcedure extends SapforFilesModification {
@Override
protected boolean canStart(Object... args) throws Exception {
if (super.canStart(args) && (call = (args.length > 0) ? (FuncCall) args[0] : null) != null) {
addOpt1 = call.funcName + "|" + Current.getFile().name;
addOpt1 = call.funcName + "|" + Global.mainModule.getFile().name;
addOpt2 = String.valueOf(call.parent_offset);
Global.changeSetting(SettingName.PARSE_FOR_INLINE, "1");
// Pass_2021.passes.get(PassCode_2021.UpdateSetting).Do(SettingName.PARSE_FOR_INLINE, "1");
@@ -32,6 +32,6 @@ public class SPF_InlineProcedure extends SapforFilesModification {
@Override
protected void showDone() throws Exception {
super.showDone();
Current.getFile().form.getEditor().gotoLine(call.line);
Global.mainModule.getFile().form.getEditor().gotoLine(call.line);
}
}