Martijn Laan 1 anno fa
parent
commit
2d1f7e3cba
1 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 2 2
      Projects/Src/CompScintEdit.pas

+ 2 - 2
Projects/Src/CompScintEdit.pas

@@ -189,12 +189,12 @@ begin
 
   Call(SCI_INDICSETSTYLE, inWordAtCursorOccurrence, INDIC_ROUNDBOX);
   Call(SCI_INDICSETFORE, inWordAtCursorOccurrence, clSilver); { May be overwritten by UpdateThemeColorsAndStyleAttributes }
-  Call(SCI_INDICSETALPHA, inWordAtCursorOccurrence, 255);
+  Call(SCI_INDICSETALPHA, inWordAtCursorOccurrence, SC_ALPHA_OPAQUE);
   Call(SCI_INDICSETUNDER, inWordAtCursorOccurrence, 1);
 
   Call(SCI_INDICSETSTYLE, inSelTextOccurrence, INDIC_ROUNDBOX);
   Call(SCI_INDICSETFORE, inSelTextOccurrence, clSilver); { May be overwritten by UpdateThemeColorsAndStyleAttributes }
-  Call(SCI_INDICSETALPHA, inSelTextOccurrence, 255);
+  Call(SCI_INDICSETALPHA, inSelTextOccurrence, SC_ALPHA_OPAQUE);
   Call(SCI_INDICSETUNDER, inSelTextOccurrence, 1);
 
   { Set up the gutter column with breakpoint etc symbols - note: column 0 is the