Fixed typo

Fixed typo
Updated Permutation Text Generator

Added support for generation in the edit view.