Please remember that new syntax highlighting is shared by all special spaces and not just nbsp.
static const QString SPECIAL_SPACE_BEGIN = "[\\x{00A0}\\x{2000}-\\x{200A}\\x{202F}\\x{3000}]+";
so if you need to distinguish among the special spaces while editing, selected preserve entities can be set and a Mend on that file or across all files can be done to display them as entities if needed. Clearing the preserve entities and rerunning Mend will remove the entities restoring the character version.
Obviously search and replace can be used to do the same thing but Preserve Entities and Mend will be easier if many different special spaces are used throughout your book.
|