google-code-export / umple

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

Selecting class in diagram sometimes highlights more than that class in the text #569

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create two classes in umpleonline (graphically or via text)
2. Using the graphical editor, change the name of the second class.
3. Select the first class in the diagram with the mouse.

What is the expected output? What do you see instead?
It is expected that the Umple code for only the selected class is highlighted.
Instead, both the selected class and the renamed class are highlighted in the 
Umple code.

Original issue reported on code.google.com by CraigBry...@gmail.com on 22 May 2014 at 4:54

GoogleCodeExporter commented 9 years ago
This is caused by the selection ending criteria. Currently, this is implemented 
by searching for the next "Class ClassName" in the code and setting the 
highlighted area to end before that line. The search currently only looks for 
capitalized class names, which caused this issue. 

Original comment by CraigBry...@gmail.com on 23 May 2014 at 5:42

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Fixed by revision r4105.

Original comment by CraigBry...@gmail.com on 26 May 2014 at 1:53