Ticket #472 (new defect)

Opened 4 years ago

Last modified 3 years ago

Add priority to major mode loading process

Reported by: rob Owned by: rob
Priority: trivial Milestone: 0.15
Component: application Keywords:
Cc:

Description

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.

Attachments

Change History

Changed 3 years ago by rob

(In [2185]) Refs #472: changed major mode ordering process in MajorModeMatcherDriver?.findActiveModes

  • added code to make sure that subclasses of major modes get examined before their parents, meaning that more specific modes have a chance to match before more general modes

Add/Change #472 (Add priority to major mode loading process)

Author


E-mail address and user name can be saved in the Preferences.


Action
as new
 
Note: See TracTickets for help on using tickets.