Difference between revisions of "Syntax coloring and fonts and error underlining"

(Created page with "Refer to What's_new_in_Analytica_5.4?#Syntax_coloring_and_fonts_in_expressions for the announcement of new features discussed here. Here is a recapitulation of the in...")
 
Line 1: Line 1:
Refer to [[What%27s_new_in_Analytica_5.4%3F#Syntax_coloring_and_fonts_in_expressions]] for the announcement of new features discussed here.
+
Syntax coloring, a fixed font option, and error underlining are new 5.4 features that apply to fields like definitions that make use of expressions. Here is an example illustrating how these features affect the appearance of a definition:
  
Here is a recapitulation of the information on the What's New page that tells you what the various sys vars are for controlling these features. Links are provided to the sys vars where you can get more detailed information for working with them. Note that each of these sys var values are preserved in the Windows registry in the User area, and do not change from model to model.
+
[[File:Analytica_definition.jpg]]
 +
 
 +
You can change syntax colors for the various syntax categories and turn all three features on or off using system variables as described below, with links to separate pages for these system variables:
  
 
#  Set the syntax colors using system variable '''Syntax colors''' from ''Definition / System variables / Settings / Syntax colors'' (see [[Sys_SyntaxColors]])
 
#  Set the syntax colors using system variable '''Syntax colors''' from ''Definition / System variables / Settings / Syntax colors'' (see [[Sys_SyntaxColors]])

Revision as of 21:29, 19 June 2020

Syntax coloring, a fixed font option, and error underlining are new 5.4 features that apply to fields like definitions that make use of expressions. Here is an example illustrating how these features affect the appearance of a definition:

Analytica definition.jpg

You can change syntax colors for the various syntax categories and turn all three features on or off using system variables as described below, with links to separate pages for these system variables:

  1. Set the syntax colors using system variable Syntax colors from Definition / System variables / Settings / Syntax colors (see Sys_SyntaxColors)
  2. You can turn syntax coloring on and off using system variable Enable syntax coloring from Definition / System variables / Settings / Enable syntax coloring (see Sys_EnableSyntaxColo)
  3. Go back to variable width font using system variable Enable fixed font back from 1 to 0 from Definition / System variables / Settings / Enable fixed font (see Sys_EnableFixedFont)
  4. Disable error underlining with system variable Enable error underlining, accessible from Definition / System variables / Settings / Enable error underlining (see Sys_EnableErrorUnder)
Comments


You are not allowed to post comments.