robmcmullen / peppy

NO LONGER MAINTAINED
http://peppy.flipturn.org/
GNU General Public License v2.0
14 stars 7 forks source link

Add priority to major mode loading process #472

Open robmcmullen opened 12 years ago

robmcmullen commented 12 years ago

[Trac time 20080627 174944Z] Kate uses a priority system to rank filetypes in order to determine which highlighter to use. This could be a way to deal with major mode priorities when there are multiple major modes that could apply to the same file. Rather than prompt the user afterwards, this could be set up beforehand.

robmcmullen commented 12 years ago

[Trac time 20090701 025127Z] d561c8b0076f143077912f543e620305ed9a6143 Refs #472: changed major mode ordering process in MajorModeMatcherDriver.findActiveModes