no message

This commit is contained in:
2025-04-13 18:08:16 +03:00
parent cd86f1257a
commit eb86b936bc
3 changed files with 9 additions and 4 deletions

4
.idea/workspace.xml generated
View File

@@ -9,9 +9,7 @@
<list default="true" id="e42177c3-2328-4b27-8a01-35779b2beb99" name="Default Changelist" comment=""> <list default="true" id="e42177c3-2328-4b27-8a01-35779b2beb99" name="Default Changelist" comment="">
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Files/DBProjectFile.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Files/DBProjectFile.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Files/DBProjectFile.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Files/DBProjectFile.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Project/db_project_info.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Project/db_project_info.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/SapforData/Loops/Loop.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/SapforData/Loops/Loop.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/SapforData/Functions/FuncCall.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/SapforData/Functions/FuncCall.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/SapforData/Functions/FuncCallH.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/SapforData/Functions/FuncCallH.java" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />

View File

@@ -495,10 +495,12 @@ public class DBProjectFile extends ProjectFile {
//-- //--
funcInfo.file = this.name; funcInfo.file = this.name;
funcInfo.ownCalls = new LinkedHashMap<>(); funcInfo.ownCalls = new LinkedHashMap<>();
funcInfo.CheckMessagesPresence();
//-- //--
for (FuncCall call: funcInfo.callsFrom){ for (FuncCall call: funcInfo.callsFrom){
call.file = this.name; call.file = this.name;
call.parentLineOffset = funcInfo.line - call.line; call.parentLineOffset = funcInfo.line - call.line;
call.CheckMessagesPresence();
} }
if (funcInfo.isMain!=0){ if (funcInfo.isMain!=0){
isMain = 1; isMain = 1;

View File

@@ -60,7 +60,11 @@ public class Loop extends FileObjectWithMessages {
for (int line_: stops) for (int line_: stops)
all_children.add(new Stop(dbProjectFile, line_)); all_children.add(new Stop(dbProjectFile, line_));
//- //-
all_children.addAll(children); for (FileObjectWithMessages fileObjectWithMessages: all_children){
fileObjectWithMessages.CheckMessagesPresence();
}
all_children.addAll(children); //у них уже проверено. (?)
return all_children; return all_children;
} }
@Override @Override
@@ -84,6 +88,7 @@ public class Loop extends FileObjectWithMessages {
return getLoopState().getFont(); return getLoopState().getFont();
} }
public void toMap_r(LinkedHashMap<Integer, Loop> loops_map){ public void toMap_r(LinkedHashMap<Integer, Loop> loops_map){
CheckMessagesPresence();
loops_map.put(line, this); loops_map.put(line, this);
for (Loop loop: children) for (Loop loop: children)
loop.toMap_r(loops_map); loop.toMap_r(loops_map);