Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow bracket pattern customization #69

Open
tablatronix opened this issue Sep 30, 2020 · 1 comment
Open

Allow bracket pattern customization #69

tablatronix opened this issue Sep 30, 2020 · 1 comment

Comments

@tablatronix
Copy link

allow tokens to replace (...) bracket enclosures

I have my own syntax highlighter and use [..] brackets for debug features

It looks like this might be an easy change

@tablatronix
Copy link
Author

tablatronix commented Oct 1, 2020

It is fairly easy

  • allow customization of rdebugX strings

  • allow custom tokens for debug levels

			if (_showDebugLevel) {
				switch (_lastDebugLevel) {
				case PROFILER:
					show.concat("(P"); // tokenize this whole string eg. "[E],[ERROR]"

This seems to be the only 2 locations needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant