@@ -44,7 +44,7 @@ protected int AddComment(ViewInfo view, int x, int y, float fvalue, IntPtr ivalu
44
44
var rtti = view . Memory . Process . ReadRemoteRuntimeTypeInformation ( ivalue ) ;
45
45
if ( ! string . IsNullOrEmpty ( rtti ) )
46
46
{
47
- x = AddText ( view , x , y , Program . Settings . OffsetColor , HotSpot . NoneId , rtti ) + view . Font . Width ;
47
+ x = AddText ( view , x , y , Program . Settings . OffsetColor , HotSpot . ReadOnlyId , rtti ) + view . Font . Width ;
48
48
}
49
49
}
50
50
@@ -59,7 +59,7 @@ protected int AddComment(ViewInfo view, int x, int y, float fvalue, IntPtr ivalu
59
59
var symbol = symbols . GetSymbolString ( ivalue , module ) ;
60
60
if ( ! string . IsNullOrEmpty ( symbol ) )
61
61
{
62
- x = AddText ( view , x , y , Program . Settings . OffsetColor , HotSpot . NoneId , symbol ) + view . Font . Width ;
62
+ x = AddText ( view , x , y , Program . Settings . OffsetColor , HotSpot . ReadOnlyId , symbol ) + view . Font . Width ;
63
63
}
64
64
}
65
65
}
@@ -73,12 +73,12 @@ protected int AddComment(ViewInfo view, int x, int y, float fvalue, IntPtr ivalu
73
73
if ( data . Take ( IntPtr . Size ) . InterpretAsUTF8 ( ) . IsPrintableData ( ) )
74
74
{
75
75
var text = new string ( Encoding . UTF8 . GetChars ( data ) . TakeWhile ( c => c != 0 ) . ToArray ( ) ) ;
76
- x = AddText ( view , x , y , Program . Settings . TextColor , HotSpot . NoneId , $ "'{ text } '") + view . Font . Width ;
76
+ x = AddText ( view , x , y , Program . Settings . TextColor , HotSpot . ReadOnlyId , $ "'{ text } '") + view . Font . Width ;
77
77
}
78
78
else if ( data . Take ( IntPtr . Size * 2 ) . InterpretAsUTF16 ( ) . IsPrintableData ( ) )
79
79
{
80
80
var text = new string ( Encoding . Unicode . GetChars ( data ) . TakeWhile ( c => c != 0 ) . ToArray ( ) ) ;
81
- x = AddText ( view , x , y , Program . Settings . TextColor , HotSpot . NoneId , $ "L'{ text } '") + view . Font . Width ;
81
+ x = AddText ( view , x , y , Program . Settings . TextColor , HotSpot . ReadOnlyId , $ "L'{ text } '") + view . Font . Width ;
82
82
}
83
83
}
84
84
@@ -89,7 +89,7 @@ protected int AddComment(ViewInfo view, int x, int y, float fvalue, IntPtr ivalu
89
89
var info = reader . ReadNodeInfo ( this , ivalue , view . Memory ) ;
90
90
if ( info != null )
91
91
{
92
- x = AddText ( view , x , y , Program . Settings . PluginColor , HotSpot . NoneId , info ) + view . Font . Width ;
92
+ x = AddText ( view , x , y , Program . Settings . PluginColor , HotSpot . ReadOnlyId , info ) + view . Font . Width ;
93
93
}
94
94
}
95
95
}
0 commit comments