| Summary: | [client] Contribute syntax highlighting / styler without registry | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | Client | Assignee: | Mark Macdonald <mamacdon> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | simon_kaegi |
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Mark Macdonald
Can you describe a bit what you're thinking about. (In reply to comment #1) > Can you describe a bit what you're thinking about. Originally I meant this for whatever needed to be done to get HTML highlighting working in a no-registry scenario. But I just looked at the code and this should be possible already. You can directly instantiate a TextMateStyler, pass the grammar from htmlSyntaxHighlight.js and then use it in your editor. I'll update the embeddededitor example to show how this can be done. |