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

Add option for multi color XML tags #281

Open
advice2020 opened this issue Oct 8, 2024 · 1 comment
Open

Add option for multi color XML tags #281

advice2020 opened this issue Oct 8, 2024 · 1 comment
Labels
xml Caused by the xml lexer

Comments

@advice2020
Copy link

I requested this in a program that I am using and I was told that this would be the place to mention this.
The default syntax highlighting used for XML tags is all one color.
I have seen other applications use two colors for these tags: one for the tag names font and another for the Angle Brackets </>
Would it be considered to add the option for using more than one color in Lexilla?

Thank You

@nyamatongwe nyamatongwe added the xml Caused by the xml lexer label Oct 10, 2024
@nyamatongwe
Copy link
Member

The INDIC_TEXTFORE indicator type can be used by the application to change the colour of the tag name or brackets.

It would likely be OK to add an option specifying another lexical class for the brackets so they could be independent colours if someone is sufficiently motivated to implement this.

One wrinkle is that substyles can now be used to have multiple sets of highlighted tags with different appearance. Duplicating classes so there is a bracket class for each set of tags be more trouble so may be less reasonable.

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

No branches or pull requests

2 participants