So that is interesting XML seems to work ok but not html/php. I've looked through all the configuration files I can think of looking for how the languages are set up but I can not see any major clues.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Tag closures like /> _are_ highlighted, but somehow by default that style isn't editable, and it's identical to the default style.
This can be fixed by editing stylers.xml.
- Open stylers.xml
- Look up the <LexerType name="html"...></LexerType>
- In there, make sure there's a <WordsStyle/> element with styleID="11"; that will contain the style information for tag closures.
For example: <WordsStyle name="Closing tag" styleID="11" fgColor="0000FF" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="" />
- Save it.
It will now appear in the Styler Configuration dialog (but you can set the colours directly in the file as well).
Note that if you edit it using Notepad++, the file will be in use, so you won't be able to save it. Just save it to a different folder (or another name), exit Notepad++, and swap the files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Noticed that when you use something like <br/> the /> doesn't get highlighted
Yep just a visual thing... pity I have no idea on a suggested fix.
Hang on.... is it just me or does it seem to work in XML???
Brilliant, simply brilliant...! Thank you!
:-D
I changed it slightly... I capitalized it and also removed the font name (so it will use your default font.
<WordsStyle name="CLOSING TAG" styleID="11" fgColor="0000FF" bgColor="FFFFFF" fontName="" fontStyle="0" fontSize="" />
yeah that really should get highlighted....
I don't know what happens when you do <img src="example.gif" /> or something as well.
Same thing. Seems to just not recognize /> at all. Not a huge program breaking problem, at least.
So that is interesting XML seems to work ok but not html/php. I've looked through all the configuration files I can think of looking for how the languages are set up but I can not see any major clues.
Tag closures like /> _are_ highlighted, but somehow by default that style isn't editable, and it's identical to the default style.
This can be fixed by editing stylers.xml.
- Open stylers.xml
- Look up the <LexerType name="html"...></LexerType>
- In there, make sure there's a <WordsStyle/> element with styleID="11"; that will contain the style information for tag closures.
For example: <WordsStyle name="Closing tag" styleID="11" fgColor="0000FF" bgColor="FFFFFF" fontName="Consolas" fontStyle="0" fontSize="" />
- Save it.
It will now appear in the Styler Configuration dialog (but you can set the colours directly in the file as well).
Note that if you edit it using Notepad++, the file will be in use, so you won't be able to save it. Just save it to a different folder (or another name), exit Notepad++, and swap the files.