Even though they have identical values, the tho enums in Text and TextEdit namespaces are technically different types.