IMac / Mac osx - how do I change the default text editor

From Cookipedia

The revision #239599 of the page named "IMac / Mac osx - how do I change the default text editor" does not exist.

This is usually caused by following an outdated history link to a page that has been deleted. Details can be found in the deletion log.