KeyAttributes

Tinderbox Icon


Attribute Data Type:   set
Attribute Default Value:   (not set - empty string)
Atrribute Group:   TextFormat
Attribute Inherited from Preferences?     No
Attribute Read-Only?   No

A semi-colon delineated set of Attribute names to be displayed at the top of the current note's text page (or text pane in Explorer view). The exposed attributes can be edited in situ; at its right, each non read-only attribute shown has a small black disclosure triangle. Clicking the latter opens a pop-up menu listing all the currently used values for that attribute. You can either select one of these or add your own vale (which is subsequently shown in the pop-up list).

From v3.6.0, KeyAttributes is a Set.

The key attributes are displayed in the current note's text window from top to bottom in the order listed in the KeyAttributes string. Thus "Width;Height;OnAdd" would cause 'Width' to be listed first, then 'Height', etc. Note that if selected for display manually, a note's displayed attributes as listed in alphabetical order.

If you change the value list, of the order of items in the list, you will need to refresh the note window — most easily done by clicking another Tinderbox window and then clicking back on the note (there is no 'refresh view' menu option).

KeyAttributes can, from v2.5.0, also be added by dragging them from the User or System panes of the Attributes dialog onto a note's text window.

By default, KeyAttributes are displayed in alphabetical order, but they can be set in a custom order using an custom semicolon delimited list for this attributes values. as of v2.5.0, additions/deletions to such custom orders won't reset the list to alphabetical.

From v3.0.5, the names of key attributes in the text window are now drawn in NameFont (defaulting to Preferences:Maps:Note Label Font). Formerly, they were drawn in the small system font.

Up to v3.0.6, string attributes shown in KeyAttributes were truncated to the first 255 characters. From v3.5.0, up to 8191 characters are now allowed, giving plenty of room for complex pattern matching strings.

From v3.6.0, draging an item out of the Key Attributes table in note Text windows, deletes that item from KeyAttributes.


Up: TextFormat Attributes
  Next: LeftMargin 

[Last updated: 3 Dec 2008]

Google search aTbRef for:  

Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]

Creative Commons License

Made with Tinderbox