Ticket #305 (closed enhancement: not relevant)

Opened 5 years ago

Last modified 2 years ago

Make it extreamly easy to add a syntax highlighter manage them

Reported by: szabgab Owned by:
Priority: major Milestone:
Component: Syntax Highlighting Version: 0.34
Keywords: Cc:

Description

Currently all the languages have 0 or 1 syntax highlighters except Perl 5 which has 2-3. Soon I'd like to add another syntax highlighters to some of the existing languages so we will have
syntax highlighting using:
1) STC
2) Syntax::Highlight::Engine::Kate
3) Parrot Compiler Toolkit
4) Several other home made including the two PPI based for Perl 5

I'd like to make it extremely easy for the developer to add another option for syntax highlighting that will already provide a menu option for the user to pick which highlighting she wants for the particular file type.

I guess that would be actually mime-type based decision
and there should be a separate easy mapping between file extensions and mime-types. Something we currently have hard-coded in Padre::Document.

Change History

comment:1 Changed 3 years ago by szabgab

  • Component changed from editor to Syntax Highlighting

comment:2 Changed 3 years ago by azawawi

Isnt that currently in Padre?

comment:3 Changed 2 years ago by bowtie

  • Status changed from new to closed
  • Resolution set to not relevant
Note: See TracTickets for help on using tickets.