achuanle / umlet

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

Can not enter >> on a line of text #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create a class diagram
2. Add text with either >> or << like Collection<? extends Callable<T>>
3. \u00AB or \u00BB get used

What is the expected output? What do you see instead?
Expected: I want to see the >> or << characters
Instead: I get \u00AB or \u00BB

What version of the product are you using? On what operating system?
Win 7 & JDK 7

Please provide any additional information below.
I understand that replace these symbols works great for specifying a stereotype 
but sometime you want to enter >> or <<

Can you either disable the replacement of >> and << (I think it would look fine 
as two separate characters) or can you add some type of escape character to the 
BUML syntax?

Original issue reported on code.google.com by ch...@osdev.org on 28 Sep 2012 at 5:15

GoogleCodeExporter commented 9 years ago
in most cases we expect that this transformation is wanted by the user

to avoid unwanted replacements, from v12.1 on, you can avoid this 
transformation by escaping >> or << with \

so your example will work using:
Collection<? extends Callable<T\>>

fixed in r742

Original comment by AFDiaX on 24 Aug 2013 at 9:20