﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3634	OMEdit comments disappear	Adam Dershowitz	Adeel Asghar	"If I try to add comments to my models in OMEdit, they show up, and the code changes color as expected.  However, as soon as I hit save, they disappear.
If I create a package, then I can add comments at the package level (including to the individual models in that package).  But, if I then open a model, contained in that package, and add a comment, it disappears when I save that model.
I am using 1.9.4~dev-656 on a Mac.  But, I have seen the same issue with recent versions.  I tried to reproduce this on a Linux version, and it does not appear to be a problem there.  

This problem occurs even with a simple package such as this:

{{{
package testpackage
  /*Put comment here*/

  model testmodel
  //comment
    Real a;
    //another comment
    annotation(Icon, Diagram);
  end testmodel;
  annotation(Icon, Diagram);
end testpackage;
}}}
If I open this in OMEdit, then click on testmodel and try to add a comment, it will disappear as soon as I hit save.
It seems that comments are not the only problem, but other code as well.  At times I can type in things, then hit save, and they just disappear.  "	defect	closed	critical	never	OMEdit		duplicate		
