StringSettingsItem class | settings.t[210]

A string settings item. This is for variables that have scalar string values. Value strings can contain anything except newlines.

`class StringSettingsItem : SettingsItem`

Superclass Tree (in declaration order)

`StringSettingsItem`
`SettingsItem`
`object`

Subclass Tree

(none)

Global Objects

(none)

Summary of Properties

`leadTrailSpPat needQuotePat trimSpPat val`

Inherited from `SettingsItem` :
`factoryDefault includeInListing settingDesc settingID`

Summary of Methods

`quoteValue settingFromText settingToText`

Inherited from `SettingsItem` :
`restoreItem saveItem`

Properties

`leadTrailSpPat` | `settings.t[242]`

no leading quote; just trim spaces

`needQuotePat` | `settings.t[274]`

quotes aren't needed

`trimSpPat` | `settings.t[243]`

no description available

`val` | `settings.t[277]`

our current value string

Methods

`quoteValue (str)` | `settings.t[251]`

Class method: quote a string value for storing in the file. If the string has any leading or trailing spaces, starts with a double quote, or contains any newlines, we'll quote it; otherwise we'll return it as-is.

`settingFromText (str)`OVERRIDDEN | `settings.t[219]`

parse text

`settingToText ( )`OVERRIDDEN | `settings.t[212]`

convert to text

TADS 3 Library Manual
Generated on 5/16/2013 from TADS version 3.1.3