achuanle / umlet

Automatically exported from code.google.com/p/umlet
0 stars 0 forks source link

activity all in one: > should be a valid text character #188

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. open Activity all in one palette
2. insert a ">" into the "[open\calls]" condition

What is the expected output? What do you see instead?
Expected: the > should be shown (because it's a usual character for a greater 
than condition)
Instead: there are unintended changes to the diagram

Possible fix:
in the class com.umlet.element.ActivityDiagramText
change normalchars = "[^\\~\\>]
to normalchars = "[^\\~]

This fix should work (I don't know why it is not contained in the normalchars), 
but the diagram must be tested in detail to make sure no other functionality 
breaks

Original issue reported on code.google.com by AFDiaX on 29 Jul 2014 at 4:56