Is it possible to show blank/hidden characters?

Is there an easy way to achieve this? If not, can you point me in the right direction?

I want users to be able to paste arbitrary text and be able to see when and where there are hidden characters. They can be shown with a special character that represents there is something hidden there, like an empty square.

Thanks for the awesome work.

I think highlightSpecialChars is what you’re looking for.

Thanks a lot! That worked like a charm!