Skip to content

Option or lexer modification to ignore existing ANSI sequences within the target text  #1422

@r4dr3fr4d

Description

@r4dr3fr4d

I would like to have existing ANSI sequences already within some target text that I want to highlight. I'm doing this for a custom text editor which will need background coloring in arbitrary locations for visual highlighting. To make handling the offsets where this highlighting starts and ends as easy as possible, I'd like to add those sequences in prior to adding in the ANSI sequences resulting from the syntax highlighting. Is there a way to do this or a better way to meet the same end?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions