This version is out of date, covering development as far as v4.2.5. It is maintained here only for inbound reference links from elsewhere. Jump to the current version of aTbRef. |
A Tinderbox Reference File : Attributes : System Attribute List : KeyAttributes |
KeyAttributes |
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 |
Licensed under Creative Commons Attribution-Noncommercial-Share Alike 3.0 License
[See aTbRef CC licence Attribution/Waiver info info]