How to find out active CodePane is editable from an Addin?

Printable View