faq:syntax-highlighting-style-priorities

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
faq:syntax-highlighting-style-priorities [2016/08/24 00:32] adminfaq:syntax-highlighting-style-priorities [2018/04/13 14:38] (current) admin
Line 4: Line 4:
  
 The following rules are used for merging: The following rules are used for merging:
-  * Font properties (italic/bold/strikeout/underline), Style properties (text/overview/hotspot) are merged as 3 state variables (on/off/undefined). If a top property is not "undefined" it will overwrite property of bottom style. If top property is undefined, the property style of resulting (merged) style will be equal to state of bottom property+  * Font properties (italic/bold/strikeout/underline), Style properties (text/overview/hotspot) are merged as 3 state variables (on/off/undefined). If a top property is not "undefined" it will overwrite property of bottom style. If top property is undefined, the property style of resulting (merged) style will be equal to the state of the bottom property
   * Color properties (foreground and background, underline and box colors) are merged using alpha values of the corresponding color property. If alpha of the top style 100% color of the resulting style will be equal to the color of the bottom style. If alpha of the top stale 0% color of the resulting style will be equal to top color. If alpha is 50%, the color of resulting style will be equal to color mixture of the top and bottom style colors. Changing of the alpha value you can influence resulting color.   * Color properties (foreground and background, underline and box colors) are merged using alpha values of the corresponding color property. If alpha of the top style 100% color of the resulting style will be equal to the color of the bottom style. If alpha of the top stale 0% color of the resulting style will be equal to top color. If alpha is 50%, the color of resulting style will be equal to color mixture of the top and bottom style colors. Changing of the alpha value you can influence resulting color.