I've written syntax highlighting rules for .ebuild and .eclass files to be used in midnight commander's mcedit. See attached ebuild diff, ebuild.syntax file itself and trivial patch for /usr/share/mc/syntax/Syntax file to include the ebuild.syntax file.
Created attachment 37820 [details, diff] Diff file for the ebuild to install new syntax highlighting file We need to install the syntax file into /usr/share/mc/syntax and modify /usr/share/syntax/Syntax to use rules in this file for .ebuild and .eclass files.
Created attachment 37821 [details] File containing rules for .ebuild/.eclass syntax highlighting
Created attachment 37822 [details, diff] Patch to be used by the ebuild to modify /usr/share/mc/syntax/Syntax
Created attachment 37831 [details] Updated ruleset for .ebuild/.eclass files I have fixed an issue with ${var} variables inside quotes and added a highlight for colon.
added in mc-4.6.0-r10 :)