Code editor control (MAGNOLIA-2937)

[MAGNOLIA-2963] Create nice syntax highlighter for stk resources Created: 02/Dec/09  Updated: 13/Feb/13  Resolved: 13/Feb/13

Status: Closed
Project: Magnolia
Component/s: gui
Affects Version/s: None
Fix Version/s: None

Type: Sub-task Priority: Minor
Reporter: Federico Grilli Assignee: Federico Grilli
Resolution: Obsolete Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
relation
is related to MAGNOLIA-3003 Add Groovy syntax highlighting Closed
supersession
is superseded by MAGNOLIA-3467 Replace codepress with codemirror as ... Closed
Template:

 Description   

As of today, syntax highlighting for stk resources (templates and css) is not so visually appealing. We need to create a codepress highlighter which is basically a mix of html, css, and ftl



 Comments   
Comment by Federico Grilli [ 27/Dec/10 ]

After replacing codepress with codemirror, we have decent default syntax highlighting with the htmlmixed parser (which will color html, js and css). Adding freemarker to the mix is not so trivial and requires some effort. An example to look at would be the PHP+HTML+JavaScript+CSS mixed-mode syntax highlight

Generated at Mon Feb 12 03:41:50 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.