Summary: | Bracket matching is broken if section patterns are followed by a block pattern in grammar | ||
---|---|---|---|
Product: | [ECD] Orion (Archived) | Reporter: | Alex Tugarev <alex.tugarev> |
Component: | Editor | Assignee: | Grant Gayed <grant_gayed> |
Status: | NEW --- | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | Keywords: | triaged |
Version: | 13.0 | ||
Target Milestone: | --- | ||
Hardware: | PC | ||
OS: | Mac OS X | ||
Whiteboard: |
Description
Alex Tugarev
2016-06-30 10:02:18 EDT
Yes, there's an implicit assumption that all patterns that precede the last block pattern are treated as block patterns, even if they're defined with single-line match: values. This is not documented and is a bit of a hack. I think that changing this without making accompanying changes in some language grammars that depend on it would break them. I will plan to revisit this in the near future (will be away for the next two weeks). |