jEdit (#159) - Successful:
Changes for Build #159
[daleanson] Adjusted the ModeProvider so it is a little smarter in picking the mode for a file. It is possible for a file to match more than one mode. Previously, the first mode that would accept the file was selected as the mode for the file. This change checks a little more, so a mode that matches both the filename glob and the first line glob will be selected before a mode that matches only the filename glob. If no mode matches both filename glob and first line glob, then a mode that matches the filename glob will be selected before a mode that only matches the first line glob. This is particularly useful for xml files, so that Ant build files can be differentiated from jEdit actions.xml files and from regular xml files. Regardless of file name or first line globs, user modes will be selected before global modes.
[daleanson] The documentation for how to write an edit mode says that "if an edit mode in the user-specific catalog has the same name as an edit mode in the system catalog, the version in the user-specific catalog will override the system default." This change makes this statement true.
Artifacts can be downloaded here: