@@ -22,7 +22,7 @@ protected Size DrawMatrixType(ViewInfo view, int x, int y, string type, DrawMatr
2222 Contract . Requires ( type != null ) ;
2323 Contract . Requires ( drawValues != null ) ;
2424
25- if ( IsHidden )
25+ if ( IsHidden && ! IsWrapped )
2626 {
2727 return DrawHidden ( view , x , y ) ;
2828 }
@@ -43,7 +43,10 @@ protected Size DrawMatrixType(ViewInfo view, int x, int y, string type, DrawMatr
4343 x = AddAddressOffset ( view , x , y ) ;
4444
4545 x = AddText ( view , x , y , view . Settings . TypeColor , HotSpot . NoneId , type ) + view . Font . Width ;
46- x = AddText ( view , x , y , view . Settings . NameColor , HotSpot . NameId , Name ) ;
46+ if ( ! IsWrapped )
47+ {
48+ x = AddText ( view , x , y , view . Settings . NameColor , HotSpot . NameId , Name ) ;
49+ }
4750 x = AddOpenClose ( view , x , y ) ;
4851
4952 x += view . Font . Width ;
@@ -68,7 +71,7 @@ protected Size DrawVectorType(ViewInfo view, int x, int y, string type, DrawVect
6871 Contract . Requires ( type != null ) ;
6972 Contract . Requires ( drawValues != null ) ;
7073
71- if ( IsHidden )
74+ if ( IsHidden && ! IsWrapped )
7275 {
7376 return DrawHidden ( view , x , y ) ;
7477 }
@@ -86,7 +89,10 @@ protected Size DrawVectorType(ViewInfo view, int x, int y, string type, DrawVect
8689 x = AddAddressOffset ( view , x , y ) ;
8790
8891 x = AddText ( view , x , y , view . Settings . TypeColor , HotSpot . NoneId , type ) + view . Font . Width ;
89- x = AddText ( view , x , y , view . Settings . NameColor , HotSpot . NameId , Name ) ;
92+ if ( ! IsWrapped )
93+ {
94+ x = AddText ( view , x , y , view . Settings . NameColor , HotSpot . NameId , Name ) ;
95+ }
9096 x = AddOpenClose ( view , x , y ) ;
9197
9298 if ( levelsOpen [ view . Level ] )
0 commit comments