﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2416	Unwanted behaviour of OMEdit with syntactically incorrect models	Francesco Casella	Adeel Asghar	"Try the following with OMEdit 1.9.0:

* File | New Modelica class: add a new model foo
* Save it
* Switch to Modelica text view
* Try to change the code in any way

As soon as a non-whitespace character is typed, OMC complains that the model is not correct. Hitting the button to solve the problem manually doesn't work, and one can only hit ""reload previous version"".
The same thing happens if one tries to change the name of the model: as soon as the name in the first line changes, OMC complains (because it doesn't match with the name at the end), so it is impossible to actually change the model name.

This is obviously unwanted behaviour. However, it doesn't take place if foo is inside a package.

More in general, it is not clear at all when the syntactical correctness is checked. When does this take place? I understand it is only when you hit save, but this is not the case for a stand-alone model not contained in a package."	defect	closed	critical		OMEdit	trunk	fixed		m.ceraolo@…
