Opened 12 years ago

Closed 11 years ago

#2082 closed defect (fixed)

Annotation relative to models not in their proper place

Reported by: casella Owned by: sjoelund.se
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 Changed 11 years ago by sjoelund.se

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).

comment:2 Changed 11 years ago by sjoelund.se

  • Owner changed from adeas31 to sjoelund.se
  • Status changed from new to accepted

Fixed in r15922

comment:3 Changed 11 years ago by sjoelund.se

  • Resolution set to fixed
  • Status changed from accepted to closed
Note: See TracTickets for help on using tickets.