[Geany-devel] Why Geany doesn't use exactly what is set in "marker_search"?
elextr at xxxxx
Fri Sep 9 05:55:21 UTC 2011
On 9 September 2011 15:20, Jean-Philippe Fleury <contact at jpfleury.net> wrote:
> Lex Trotman a écrit le 2011-09-09 00:13 :
>> The markings used for mark-all searches are applied with hard coded
>> alpha of 60 out of 256.
> Thanks for your answer.
> About "marker_translucency", we can read in the the manual:
>> Translucency for the line marker (first argument) and the search marker
>> (second argument). Values between 0 and 256 are accepted.
> How "marker_translucency" is applied to search marker if there's already a
> hard coded value? I tried to change values of "marker_translucency", but it
> doesn't seem to change anything.
You have marking search matches and markers confused. Markers are the
little yellow arrow and the plus sign that appear in the margin.
Those are what is affected by the marker_translucency setting, not the
marked search matches, which is what you were comparing to gedit. The
two values of marker_translucency are used for the arrow and the plus
respectively. It would appear that the manual is a bit confusing
Just for your information, marked search matches are alpha blended
rather than just setting a background so that the text is more likely
to remain legible. Setting a background would require you to then
check and change all highlighting that used colours close to the new
background. In contrast so long as foreground and background are
different, alpha blending will change both so it is a likely that the
text is still visible.
> Geany-devel mailing list
> Geany-devel at uvena.de
More information about the Devel