Tinderbox v9 Icon

Non-editable notes

To avoid accidental editing it may be desired to make a note 'read-only', i.e. non-editable, but there is no single setting that allows this.

However there are two system attributes that cover aspects of this. Both date from the early days of Tinderbox before current heavier use of action code and so address only UI interactions.

Here, 'note' applies also to adornments, aliases, and agents.

ReadOnly attribute

The $ReadOnly system attribute affects only UI, i.e. manual, editing of the text pane, excepting the title bar. Thus it controls manual edit of:

The original conception for $ReadOnly was to 'lock' the $Text of notes using AutoFetch to avoid the auto-imported $Text fighting against user manual edits. Later, scope was added to include Displayed Attributes. This explains the manual/UI-only nature of the setting.

A note's $ReadOnly has no effect on:

Though action code may be set to check a note's $ReadOnly state, this would need to be applied individually to every affected action. There is no centralised switch for such behaviour (beyond using prototype-inherited code).

$ReadOnly can be set via:

Lock attribute

The $Lock system attribute affects only the view pane and is was originally conceived for Map view use. It controls several view pane:

A note's $Lock has no effect on:

$Lock can be set via: