I’m very impressed with mousepad text editor but want add some script file extensions.
To be precise I use .en suffix to denote English language php include files and want the php syntax highlighting (I also use the .de suffix to denote German language etcetera… it’s for an experimental multi-lingual website… but that’s a different subject).
Where can I configure the recognition of Mousepad script file types?
Mousepad uses GtkSourceView for syntax highlighting. Might be good to have a look there.
The styles are located in:
The lang files are here:
Oh… that was easier than I thought … All I had to do was add my .en extension (and presumably works for others too) in the php.lang file as follows:
I might even have a go at getting it to spell check <p> sections in the chosen language.
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.