Safely override php.xml
Submitted by Wednesday, 23 July, 2008 - 13:35
on
Hello!
I have added a custom rule to /usr/jedit/modes/php.xml so that certain heredoc blocks are delegated to Javascript syntax coloring. I would like to distribute this change to users of my framework, but it does not seem like the Right Thing to directly modify this file.
Is there a defined way to add things to these default syntax coloring files without directly modifying the original file? Can I put a copy of it in my ./jedit/modes file? Is there some other mechanism for doing this?
TIA...
I have added a custom rule to /usr/jedit/modes/php.xml so that certain heredoc blocks are delegated to Javascript syntax coloring. I would like to distribute this change to users of my framework, but it does not seem like the Right Thing to directly modify this file.
Is there a defined way to add things to these default syntax coloring files without directly modifying the original file? Can I put a copy of it in my ./jedit/modes file? Is there some other mechanism for doing this?
TIA...