Fix some issues with the symbol-highlight-transient-state. In particular this PR fixes #16380. It also simplifies the control flow and fixes some formatting and docstrings. The commit messages and comments contain a detailed breakdown of the changes.
Fix some issues with the
symbol-highlight-transient-state
. In particular this PR fixes #16380. It also simplifies the control flow and fixes some formatting and docstrings. The commit messages and comments contain a detailed breakdown of the changes.