After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 665239 - Mixed-mode syntax highlighting
Mixed-mode syntax highlighting
Status: RESOLVED FIXED
Product: gtksourceview
Classification: Platform
Component: General
unspecified
Other All
: Normal enhancement
: ---
Assigned To: GTK Sourceview maintainers
GTK Sourceview maintainers
Depends on:
Blocks:
 
 
Reported: 2011-11-30 19:21 UTC by Moo
Modified: 2013-09-28 23:22 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Moo 2011-11-30 19:21:32 UTC
Please add support for mixed-mode syntax highlighting.

When I open a PHP file, I need PHP, HTML, CSS and JavaScript highlighting.
When I open a CSHTML file, I need C#, HTML, CSS, JavaScript highlighting.
When I open a VBHTML file, I need VB, HTML, CSS, JavaScript highlighting.
When I open a ASP file, I need ASP, HTML, CSS, JavaScript highlighting.

One syntax highlighting is not enough, I need 4 at the same time.
Comment 1 Moo 2011-11-30 19:24:35 UTC
When I open a HTML file, I need HTML, CSS and JavaScript highlighting.
Comment 2 Moo 2011-11-30 21:07:46 UTC
Also for CFML, I need ColdFusion (CFML), HTML, CSS and JavaScript highlighting.
Also for JSP, I need Java, HTML, CSS and JavaScript highlighting.
Comment 3 Sébastien Wilmet 2013-09-28 18:20:10 UTC
This is supported by GtkSourceView. If you see some problems in specific language specs, file specific bug reports.
Comment 4 Moo 2013-09-28 23:22:25 UTC
When I open a .html file, I need HTML, CSS and JavaScript highlighting.