Opened 12 years ago
Closed 12 years ago
#2082 closed defect (fixed)
Annotation relative to models not in their proper place
Reported by: | Francesco Casella | Owned by: | Martin Sjölund |
---|---|---|---|
Priority: | high | Milestone: | 1.9.0 |
Component: | OMEdit | Version: | trunk |
Keywords: | Cc: |
Description
I have created some simple models with OMEdit, and the annotation with the graphical information regarding the model icon ended up at the beginning of the class declaration, on the second line just after the declaration "model XXX".
I understand that the Modelica 3.2 grammar requires the annotation to be placed at the end of the model.
I'm not sure why OMEdit places the annotation in a different place and whether the problem is with OMEdit, with the API or with the front-end, but it should definitely be fixed.
Change History (3)
comment:1 by , 12 years ago
comment:3 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
Note:
See TracTickets
for help on using tickets.
That's because OMEdit uses stupid API functions. It's fixed in my local changes (by making the only possible place to store annotations at the end of a model).