﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2188	Handling of arrays in the plot window needs improvement in OMEdit	Per Östlund	Adeel Asghar	"When displaying the result plot in OMEdit it seems like component names are split at dots to build a variable tree. I.e. 'a.b' and 'a.c' becomes a node 'a' with children 'b' and 'c'.

However, component names in Modelica can actually contain dots if they are quoted, i.e. Real 'a.b'. Enumeration literals used as subscripts also contain dots, i.e.:
{{{
model M
  type E = enumeration(one, two);
  Real x[E] = {1, 2};
end M;
}}}
results in the components x[E.one] and x[E.two]. This causes OMEdit to create a node 'x[E', with children 'one' and 'two'.

So the parsing of component names needs to consider these cases, i.e. don't split names inside quotes or brackets. Even though it's by mistake I like the way that array elements with enumeration subscripts are grouped together right now, and think it would make sense to always group array elements. I.e. an array Real x![2] would result in a node 'x' with children '1' and '2', similarly to what MDT does for arrays and lists."	defect	closed	normal	1.9.4	OMEdit	trunk	fixed		
