Opened 11 years ago
Last modified 10 years ago
#3135 closed defect
OMEdit moves comments in algorithms — at Initial Version
| Reported by: | massimo ceraolo | Owned by: | Adeel Asghar |
|---|---|---|---|
| Priority: | normal | Milestone: | never |
| Component: | OMEdit | Version: | trunk |
| Keywords: | Cc: |
Description
If I have a line comment in OMEdit inisde an algorithm, when saving the comment is moved at the end of algorithm.
If I wrote the following model, for instance:
model aa
Real x;
algorithm
if time > 0.5 then
//this is a comment
x := 2;
else
x := 1;
end if;
end aa;
when saved it becomes:
model aa
Real x;
algorithm
if time > 0.5 then
x := 2;
else
x := 1;
end if;
//this is a comment
end aa;
Note:
See TracTickets
for help on using tickets.
