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.

Implement support for multi-line rules in Nano Highlighter and Linter #319

Open

Description

@jspenguin2017

Highlighting is quite tricky since this is a valid rule:

@ \
    @ \
    | \
    |example.com \
    ^

uBO uses JavaScript for tokenization, but Ace uses RegExp, which makes this difficult.


Beside highlighting, some linting (missing space before slash, missing four spaces on the next line, etc.) would also be useful.

Activity

  1. changed the title [-]Implement support for multi-line rules in Nano Highlighter[/-] [+]Implement support for multi-line rules in Nano Highlighter and Linter[/+] on Apr 4, 2020
  2. jspenguin2017 commented on Apr 29, 2020

    @jspenguin2017
    MemberAuthor

    @KonoromiHimaries What do you mean? Can you elaborate?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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