The preferences. Set the language, colour and how to print. The 'Highlight if not this language' is used to show all other languages used in the document.
A helper script to work in the layout view. The drop down allows you to select a language. The 'Invert Highlight' highlights all other languages. By selecting either control the document is redrawn.
Showing the highlighted text.