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.
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.