Skip to content

A token maker should be able to specify which bracket characters are used #668

@lokedhs

Description

@lokedhs

I'm using RSyntaxTextArea for the editor for the Kap programming language.

This language uses the usual (), [] and {} symbols. But, it also uses two more sets: «» and ⟦⟧. Currently, it's very difficult to get RSyntaxTextArea to highlight matching brackets for these symbols.

Are there any workarounds?

No practical ones. The only one I can think of is to use byte code injection to replace the implementation of RSyntaxUtilities.getMatchingBracketPosition, but even if it works, it's not something I want to do.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions