﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2905	Provide comment-preserving parsing and unparsing	Francesco Casella	somebody	"The OMEdit GUI is based on OMC for all editing activities. When OMC passes the text of a class to the GUI, all original formatting information is lost, so that, as soon as the modified class is saved, the original formatting is lost on the file as well.

This makes it very hard to use OMEdit on modelling projects that use revision control (SVN, GIT, etc.) - all serious ones do. This also makes it impossible to use OMEdit to work on the Modelica Standard Library without screwing up the code. Last, but not least, this makes it impossible to use OMEdit on the same project in conjunction with other Modelica tools, which is a very likely user scenario in the near future.

The solution to this problem has already been studied and partially implemented 6 years ago (see: https://www.modelica.org/events/modelica2008/Proceedings/sessions/session6a3.pdf).

It is now of the utmost importance that this solution is implemented in OMC, so that OMEdit becomes usable in the above-mentioned scenarios."	defect	closed	critical		Frontend	trunk	fixed		Adeel Asghar Martin Sjölund Adrian Pop
