Insert a handler description at the beginning of the handler currently selected handler by creating a dynamic clipping and using the clipping as the template.
Check it out on GitGist: https://gist.github.com/kevin-funderburg/2d8a6d772f33a21f406ea385bc209c81
Check out the demo, note how the clipping changes every time depending on the parameters, and it is inserted at the beginning of the function wherever the cursor is.