| Summary: | [client] [textmatestyler] Support begin-to-end backreferences from TextMate grammars | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Mark Macdonald <mamacdon> |
| Component: | Client | Assignee: | Mark Macdonald <mamacdon> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | karol |
| Version: | 0.2 | ||
| Target Milestone: | 0.2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
| Bug Depends on: | 345191 | ||
| Bug Blocks: | |||
Simon reviewed this change Pushed to master as http://git.eclipse.org/c/e4/org.eclipse.orion.client.git/commit/?id=ac7067168a3a8ad2c848369192eb243dc03eaaaf |
TextMate allows the "end" regex in a begin..end rule to backreference matching groups from the "begin" match. So you can do something like this: > { name: "heredoc", > begin: "<<(\w+)", > end: "^\1$" > } to match a Perl-style "here document" block. Should support this.