An introduction to the usage and design of SEdit, the structure editor for Lisp code of Medley Interlisp:
https://files.interlisp.org/medley/docs/internal/sedit/old/intro.tedit.pdf
For more details on the usage and internals of SEdit see (especially code-editing.tedit.pdf):