The only way I know to deselect everything in the pattern-editor is to double-click inside the pattern editor (which also moves the cursor, unless you double-click the same cell your cursor is on).
The pattern matrix has “Ctrl+Shift+A” to deselect all.
Can this be brought into the pattern editor (and phrase editor) too?