Skip to content
This repository was archived by the owner on Oct 16, 2020. It is now read-only.
This repository was archived by the owner on Oct 16, 2020. It is now read-only.

Highlighting engine should support a way to end inner spans from when ending an outer span #238

Open
@dgrunwald

Description

@dgrunwald

SD-1919, originally created on 3/17/2013 17:43:45 by Siegfried Pammer

In MarkDown, for example, the current implementation of Spans is not
sufficient, if we mix MarkDown with C# as Code-RuleSet.

this.SomeCall() // this comment

In this example the matching ` should end the nested //-span.
To preserve features such as nesting multiple multi-line comments (like
in Boo) we should introduce a new attribute which marks a span with a
priority index. All spans with lower priority should be closed, if the
outer span is closed.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions