Hello again, Wolfgang!
OK, now I understand! However, I'm afraid there's no import mechanism in CVI, so that you could move the tags over to another file, other than doing this operation manually.
It would be however possible to perform a workaround. Since you already have this information in your CWS file (Line Tags field), you could manually copy-paste the line numbers over to the new file containing the source code you splitted from the old file. Some steps:
- Let a.c be your source code file containing source tags.
- Perform a copy of a.c (e.g. b.c), and add b.c to the project.
- In your CWS file, copy-paste the Line Tags field of a.c over to the corresponding entry of b.c.
- Go back to CVI, making sure that both the source code and the source tags from b.c are a perfect clone of a.c.
- Perform required changes to a.c and b.c, such that the final result is the splitted logic of the initial file. As you change lines from a source file, the source tags are also shifted in the source editor.
- The final result is the splitted code between a.c and b.c, while keeping the corresponding position of the source tags.
I'm aware that there's some work involved in performing these operations, but the outcome should be your expected result.
I hope this helps, Wolfgang!