@@ -3219,12 +3219,10 @@ unsafe public void MarkerDefinePixmap(int markerNumber, string pixmap )
3219
3219
unsafe public void MarkerDefineRGBAImage ( int markerNumber , Bitmap image )
3220
3220
{
3221
3221
var rgba = RGBA . ConvertToRGBA ( image ) ;
3222
-
3223
3222
//SCI_RGBAIMAGESETWIDTH
3224
3223
SPerform ( 2624 , ( uint ) image . Width , 0 ) ;
3225
3224
//SCI_RGBAIMAGESETHEIGHT
3226
3225
SPerform ( 2625 , ( uint ) image . Height , 0 ) ;
3227
-
3228
3226
fixed ( byte * b = rgba )
3229
3227
{
3230
3228
//SCI_MARKERDEFINERGBAIMAGE
@@ -6613,8 +6611,10 @@ public void AddHighlight(Int32 indicator, Int32 indicStyle, Int32 highlightColor
6613
6611
// Define indics in both controls...
6614
6612
doc . SplitSci1 . SetIndicStyle ( indicator , indicStyle ) ;
6615
6613
doc . SplitSci1 . SetIndicFore ( indicator , highlightColor ) ;
6614
+ doc . SplitSci1 . SetIndicSetAlpha ( indicator , 40 ) ; // Improve contrast
6616
6615
doc . SplitSci2 . SetIndicStyle ( indicator , indicStyle ) ;
6617
6616
doc . SplitSci2 . SetIndicFore ( indicator , highlightColor ) ;
6617
+ doc . SplitSci2 . SetIndicSetAlpha ( indicator , 40 ) ; // Improve contrast
6618
6618
this . CurrentIndicator = indicator ;
6619
6619
this . IndicatorValue = 1 ;
6620
6620
this . IndicatorFillRange ( start , length ) ;
@@ -6645,8 +6645,10 @@ public void AddHighlights(Int32 indicator, Int32 indicStyle, List<SearchMatch> m
6645
6645
// Define indics in both controls...
6646
6646
doc . SplitSci1 . SetIndicStyle ( indicator , ( Int32 ) ScintillaNet . Enums . IndicatorStyle . RoundBox ) ;
6647
6647
doc . SplitSci1 . SetIndicFore ( indicator , highlightColor ) ;
6648
+ doc . SplitSci1 . SetIndicSetAlpha ( indicator , 40 ) ; // Improve contrast
6648
6649
doc . SplitSci2 . SetIndicStyle ( indicator , ( Int32 ) ScintillaNet . Enums . IndicatorStyle . RoundBox ) ;
6649
6650
doc . SplitSci2 . SetIndicFore ( indicator , highlightColor ) ;
6651
+ doc . SplitSci2 . SetIndicSetAlpha ( indicator , 40 ) ; // Improve contrast
6650
6652
this . CurrentIndicator = indicator ;
6651
6653
this . IndicatorValue = 1 ;
6652
6654
this . IndicatorFillRange ( start , this . MBSafeTextLength ( match . Value ) ) ;
0 commit comments