options:syntax:font_and_colors

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
options:syntax:font_and_colors [2015/11/25 16:40] – [Fonts and Colors] adminoptions:syntax:font_and_colors [2018/04/13 14:52] (current) – external edit 127.0.0.1
Line 1: Line 1:
 ====== Fonts and Colours ====== ====== Fonts and Colours ======
-{{ :options:syntax:fonts_and_colors.png?nolink|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.+{{ :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 colour as indirect colour indexes that referrers to some colour from current colour 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 colours as: +There are such predefined values for colors as: 
-  * **Automatic** - hard coded values, referring to other basic colours +  * **Automatic** - hard coded values, referring to other basic colors 
-  * **Transparent** - transparent colours that display colour from underlying style +  * **Transparent** - transparent colors that display color from underlying style 
-  * **Custom** - select explicit colour for style +  * **Custom** - select [[options:color-scheme#edit_color|explicit colour for style]].  
-  * **New** - in-place creation of the new indexed colour 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 colour (//foreground//) as back colour (//background//).  You can define as text colour (//foreground//) as back colour (//background//). 
Line 20: Line 20:
   * <del>Strikethrough</del> (true/false/inherit from style below)   * <del>Strikethrough</del> (true/false/inherit from style below)
  
-Inheriting style means, taking value of property defined in style below, during runtime layering of styles on drawing.+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).  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 ===== ===== Advanced Style Settings =====
-{{ :options:syntax:advanced-style-settings.png?nolink|Advanced Style Settings dialog}}+{{ :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]].