@@ -44,7 +44,7 @@ protected int AddComment(ViewInfo view, int x, int y, float fvalue, IntPtr ivalu
4444 var rtti = view . Memory . Process . ReadRemoteRuntimeTypeInformation ( ivalue ) ;
4545 if ( ! string . IsNullOrEmpty ( rtti ) )
4646 {
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 ;
4848 }
4949 }
5050
@@ -59,7 +59,7 @@ protected int AddComment(ViewInfo view, int x, int y, float fvalue, IntPtr ivalu
5959 var symbol = symbols . GetSymbolString ( ivalue , module ) ;
6060 if ( ! string . IsNullOrEmpty ( symbol ) )
6161 {
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 ;
6363 }
6464 }
6565 }
@@ -73,12 +73,12 @@ protected int AddComment(ViewInfo view, int x, int y, float fvalue, IntPtr ivalu
7373 if ( data . Take ( IntPtr . Size ) . InterpretAsUTF8 ( ) . IsPrintableData ( ) )
7474 {
7575 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 ;
7777 }
7878 else if ( data . Take ( IntPtr . Size * 2 ) . InterpretAsUTF16 ( ) . IsPrintableData ( ) )
7979 {
8080 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 ;
8282 }
8383 }
8484
@@ -89,7 +89,7 @@ protected int AddComment(ViewInfo view, int x, int y, float fvalue, IntPtr ivalu
8989 var info = reader . ReadNodeInfo ( this , ivalue , view . Memory ) ;
9090 if ( info != null )
9191 {
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 ;
9393 }
9494 }
9595 }
0 commit comments