Skip to content
This repository was archived by the owner on Aug 31, 2021. It is now read-only.

Commit cfcf4f6

Browse files
committed
[[ DefaultHandlers ]] Add release note
1 parent 5d0f421 commit cfcf4f6

1 file changed

Lines changed: 20 additions & 0 deletions

File tree

notes/feature-default_handlers.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Default handlers
2+
Objects no longer have default scripts that appear in the script
3+
editor when their empty scripts are edited. Instead, all the
4+
associated message handlers for the object type now appear in a
5+
list underneath the list of handlers that are present in the
6+
script. When clicked, these lines add the selected default
7+
handler to the end of the current script.
8+
9+
If there is a default script for this handler and object type
10+
in the appropriate location
11+
(Toolset/resources/supporting_files/default_scripts/ for
12+
'classic' objects, <widget_path>/support/ for widgets), the
13+
content of the handler is obtained from that script (including
14+
preceding comments)
15+
16+
If there is no default script for this handler and object type,
17+
the handler is constructed using information from the
18+
documentation, namely the Summary element is used as a preceding
19+
comment to describe the handler, and then the handler declared
20+
with all the specified parameters.

0 commit comments

Comments
 (0)