This version is out of date, covering development from v5.0.0 to v5.12.2. It is maintained here only for inbound reference links from elsewhere.

Jump to the current version of aTbRef.

Tinderbox Icon

TextColor


Attribute Data Type: 

Attribute Default Value: 

Attribute Group: 

Attribute Purpose: 

Attribute Inherited from Preferences?   

Attribute Read-Only? 

Attribute Intrinsic? 

Attribute First Added: 

Attribute Altered: 

 color   [other color-type attributes]

 #000000

 TextFormat   [other TextFormat Group attributes]

 Text appearance

 Yes

 No

 No

 Already in v5.0.0

 


Specifies the default (starting) display colour of $Text in text windows, before any further editing.

This colour may be modified by further text editing — it is the 'default' colour for new text in that note.

IMPORTANT: Changes to this attribute affect only those notes with no current $Text. Once anything has been added to $Text, inheritance is broken. Thereafter $Text uses the relevant attribute settings as at the time the text was added; they are effectively 'baked' into the $Text. The only way to 'reset' text with the wrong $TextColor value is to select the text and apply plain text formatting (Style menu). WARNING: setting plain text resets all $Text styling attributes. Is is not possible to 'reset' only font but not colour, text size, bolding, etc., as might be otherwise intuited.

A color attribute. The attribute default is not set but inherits #000000 (black) from the Preferences Text pane's Text color option.


Possible relevant notes (via "Similar Notes" feature):


A Tinderbox Reference File : Attributes : Attribute Data Types : Color Attributes : TextColor