Opened 5 years ago

Closed 3 years ago

#305 closed enhancement (not relevant)

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 (3)

comment:1 Changed 4 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 3 years ago by bowtie

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