Algosim documentation: Algosim settings

Algosim settings

The Algosim front-end and kernel utilise a shared centralised storage system for application settings. Each setting has a name, a data type, a value, a default value, and, optionally, a description explaining the purpose and effects of the setting.

The following data types are available:

Settings can be read and changed at any time. When a setting is changed, there may or may not be an immediate effect. This depends on the actual setting and when it is used. For example, if you change the setting “StartMaximized”, which is consumed each time the Algosim front-end is started, you will not see any change until the next time you start Algosim.

Similarly, if you change “ProgEd_ShowTree”, which specifies the default visibility of the AST panel in the program editor, you’ll notice the change the next time you create a new program editor window. And if you change the “Numerics_ContourSamplesPerAxis” setting, you’ll see the effect the next time you create a contour plot.

On the other hand, some settings have an immediate effect when set. One example is “ThemeColor”; changing this setting will immediately change the colour of all Algosim windows.

Settings can be read and changed programmatically, using the settings, setting, and ApplySetting functions. Settings can also be read and changed using the Settings manager.

See also

Appendix: Available settings

Console_CaretBeyondEOL

Determines if the “allow caret beyond EOL” option should be on by default in new console windows.

Type: Boolean Default: false

Console_LineHighlight

Determines if the current line should be highlighted by default in new console windows.

Type: Boolean Default: false

Console_MathInputMode

Determines if mathematical input mode should be on by default in new console windows.

Type: Boolean Default: true

Console_QuerySave

Determines if unsaved changes should trigger a warning (and option to save) when a console window is to be closed.

Type: Boolean Default: true

Console_ShowHiddenCharacters

Determines if hidden characters should be visualised by default in new console windows.

Type: Boolean Default: false

Console_ShowRuler

Determines if the ruler should be visible by default in new console windows.

Type: Boolean Default: false

DefaultLayout

The name of the Algosim IDE layout preset to use on application startup.

Type: String Default: Console (only)

Editor_FontName

If non-empty, specifies the default monospaced typeface used for new editor and console windows.

Type: String Default:

Editor_ZoomLevel

Specifies the zoom level (in percent) used by default in new editor and console windows.

Type: Integer Default: 100

ImageViewer_HighQualityScaling

Determines if high-quality scaling should be used by default in new image viewers.

Type: Boolean Default: true

NoQuickStartGuide

If true, Algosim won’t ask if you want to open the quick start guide at application startup.

Type: Boolean Default: false

Numerics_ContourSamplesPerAxis

The default number of samples per axis used when sampling scalar fields to produce contour plots or implicit graphs. More precisely, the square of this value is used as the default number of total samples.

Type: Integer Default: 500

ProgEd_CaretBeyondEOL

Determines if the “allow caret beyond EOL” option should be on by default in new program editor windows.

Type: Boolean Default: true

ProgEd_LineHighlight

Determines if the current line should be highlighted by default in new program editor windows.

Type: Boolean Default: true

ProgEd_MathInputMode

Determines if mathematical input mode should be on by default in new program editor windows.

Type: Boolean Default: true

ProgEd_ShowHiddenCharacters

Determines if hidden characters should be visualised by default in new program editor windows.

Type: Boolean Default: false

ProgEd_ShowRuler

Determines if the ruler should be visible by default in new program editor windows.

Type: Boolean Default: true

ProgEd_ShowTree

Determines if the parsed syntax tree should be visible by default in new program editor windows.

Type: Boolean Default: true

QuickLayouts

A semicolon-separated list of layout presets that are cyclically applied by F4.

Type: String Default: Console (only); Standard IDE; Full IDE

StartMaximized

If true, new Algosim instances will have their main IDE form maximized.

Type: Boolean Default: false

ThemeColor

The theme colour used by the Algosim front end.

Type: Colour Default: rgba(0.698, 0.635, 0.624, 1.000)

ThemedBorders

If true, Algosim title bars and window borders are painted in the Algosim theme colour instead of the system default colour (requires restart).

Type: Boolean Default: true