Add syntax highlighting to nedit

You can download syntax highlighting patterns for nedit from

Download a pattern file, close all instances of nedit, and start it again with the import option, as follows:

nedit -import <name of pattern file>

You should now have a PHP option in Preferences -> Language Mode. To make the changes persist, select Preferences -> Save Defaults...


For example, to get syntax highlighting for php files, I downloaded php4.pats, ran nedit -import php4.pats & and clicked Preferences -> Save Defaults...

Last modified: 07/02/2007 Tags: (none)

This website is a personal resource. Nothing here is guaranteed correct or complete, so use at your own risk and try not to delete the Internet. -Stephan

Site Info

Privacy policy

Go to top