You can display an user defined function side-by-side with a D-Script, Global D-Script, Extended Script, or another user defined function.
You can write the function while comparing them, or you can edit both at the same time.
You can also edit different types of user-defined scripts at the same time.
22.6.1 Procedure - Referencing Other Scripts