options:syntax:font_and_colors

Differences

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

Link to this comparison view

Next revision
Previous revision
options:syntax:font_and_colors [2014/02/09 01:50] – external edit 127.0.0.1options:syntax:font_and_colors [2018/04/13 14:52] (current) – external edit 127.0.0.1
Line 1: Line 1:
-====== Fonts and Colors ====== +====== Fonts and Colours ====== 
-{{ :options:syntax:fonts_and_colors.png?nolink|Font and Color settings for syntax in HippoEDIT}} HippoEDIT has highly customizable fonts and color system, that allows you inherit settings from parent syntax, overwrite settings from parent of extend them.+{{ :options:syntax:fonts_and_colors.png?nolink&300|Font and Colour settings for syntax in HippoEDIT}} HippoEDIT has highly customizable fonts and color system, that allows you inherit settings from parent syntax, overwrite settings from parent of extend them.
  
-You can use monospaced or non-monospaced fonts (monospaced are preferableif you often work with block selection), any size fonts or select to use fonts from parent languages (Use from //<SyntaxName>//). +You can use monospaced or non-monospaced fonts (monospaced are preferable if you often work with block selection), any size fonts or select to use fonts from parent languages (Use from //<SyntaxName>//). 
  
-You can use as explicit color as indirect color indexes that referrers to some color from current color palette.+You can use explicit colors or indirect color indexes that referrers to some color from the [[options:color-scheme|current color palette]].
  
 There are such predefined values for colors as: There are such predefined values for colors as:
-  * **Automatic** - hardcoded values, referring to other basic colors+  * **Automatic** - hard coded values, referring to other basic colors
   * **Transparent** - transparent colors that display color from underlying style   * **Transparent** - transparent colors that display color from underlying style
-  * **Custom** - select explicit color for style +  * **Custom** - select [[options:color-scheme#edit_color|explicit colour for style]].  
-  * **New** - in-place creation of the new indexed color in palette with auto referencing on it+  * **New** - in-place [[options:color-scheme#edit_color|creation of the new indexed color]] in palette with auto-referencing on it
  
-You can define as text color (//foreground//) as back color (//background//). +You can define as text colour (//foreground//) as back colour (//background//). 
  
-In addition to color settings you can set font styles as: +In addition to colour settings you can set font styles as: 
-  * **Bold** +  * **Bold** (true/false/inherit from style below) 
-  * //Italic// +  * //Italic// (true/false/inherit from style below) 
-  * __Underlined__+  * __Underlined__ (true/false/inherit from style below) 
 +  * <del>Strikethrough</del> (true/false/inherit from style below)
  
-Additional font styles as as squeezes, boxing, or different underlining available with direct [[syntax:styles|modification of styles]] in syntax files. +Inheriting style means, taking the value of the property defined in style below, during [[faq:syntax-highlighting-style-priorities|runtime stapling of styles on drawing]]. 
 + 
 +Additional font styles as as squeezes, boxing, or different underlining available with direct [[syntax:styles|modification of styles]] in syntax files ( HippoEDIT < version 1.50 ) or in //Advanced Style Settings// dialog (see below)
  
 Option **Show Inherited Styles** controls if styles inherited from parent syntax should be shown. Option **Show Inherited Styles** controls if styles inherited from parent syntax should be shown.
 +
 +<note important>Pay attention to the indication of inheritance of the style on the right side of the style name. Name of syntax owning the style, indicated in parentheses. E.g //(Default)// in example screenshot above. If you change style configuration for inherited style, it is actually changed for current, owning and all inherited from owning syntaxes.</note>
 +
 +===== Advanced Style Settings =====
 +{{ :options:syntax:advanced-style-settings.png?nolink|Advanced Style Settings dialog}}In addition to basic style properties, you can define advanced ones, that may be use in rare cases as error or matching indication.
 +==== Underline ====
 +Define underlining style and colour of underlining.
 +
 +//Style// may be selected from following options:
 +  * **None** - no underlining
 +  * **Diagonal** - short, diagonal line underlining
 +  * **Squiggle** - wave underlining
 +  * **TT** - multi t-like underlining
 +  * **Plain** - plain, 1px underlining
 +  * **Plain2x** - plain, 2px underlining
 +  * **Plain3x** - plain, 3px underlining
 +  * **Plain4x** - plain, 4px underlining
 +
 +//Colour// may be any of palette colors or explicit/custom one. 
 +
 +==== Box ====
 +Define style of surrounding block for text block. 
 +
 +You can define box //style//:
 +  * //None// - no surrounding
 +  * //Rectangle// - rectangle box
 +  * //Round Rectangle// - rounded rectangle block
 +  * //Horizontally Bounded// - block is bounded by vertical lines aside
 +  * //Vertically Bounded// - block is bounded by horizontal lines above and below
 +
 +You can define //Frame Colour// for painting box frame, using any palette or custom colour.\\
 +And //Fill Colour//, for filling inner part of the frame, also using any palette or custom color.
 +
  
 **Show in Overview Bar** controls visibility of the style area on [[view:pane:overview_bar|Overview Bar]]. **Show in Overview Bar** controls visibility of the style area on [[view:pane:overview_bar|Overview Bar]].