﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4310	OMEdit: Code folding option unavailable if line ends with whitspace	Jan Kokert	Adeel Asghar	"I found another litte bug in OMEdit. It took me a while to narrow it down...
If a line ends with a whitspace (single oder multiple spaces) the code folding option is '''not available'''.

As an example consider the following example. The model has errors but they don't matter in this case.

{{{

model Battery
   
equation
  // code folds properly
  connect(a, b) annotation(
    Line(points = {{0, -10}, {0, -50}}, color = {0, 0, 255}));
  
  // no code folding available
  connect(c, d) annotation(
    Line(points = {{0, 10}, {0, 100}}, color = {0, 0, 255})); 
  
end Battery;

}}}
"	defect	closed	high	1.12.0	OMEdit		fixed	code folding white space	
