Edgewall Software
Modify

Opened 20 years ago

Closed 19 years ago

#1447 closed enhancement (fixed)

first-line file content matching for syntax highlighting

Reported by: xris@… Owned by: Jonas Borgström
Priority: normal Milestone: 0.10
Component: general Version: 0.8.1
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description (last modified by Christian Boos)

I know it's possible to set mime types in svn (which I'm using now), but it would also be nice to have a first-line match for syntax highlighting. Could then just add something like /^#!.*perl/ go along with text/x-perl, and any matching file or code block could be detected as perl without a mime type being set (great for inline blocks, etc).

Attachments (0)

Change History (1)

comment:1 by Christian Boos, 19 years ago

Description: modified (diff)
Milestone: 0.10
Resolution: fixed
Status: newclosed

This has been implemented in r2653.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.