It seems not all settings for HTML files are applied to the file text. Also, settings are not _always_ applied. I wonder how to change these, or possibly what other (file types') settings I have to change in order to affect the HTML style.
Problems I found:
COMMENT None of these settings seems to have any effect
NUMBER This setting does affect numbers as attributes values, but:
It does not affect numbers between parentheses, as well as separate numbers, although these both seem to be recorgnized as numbers. They _are_ shown in red. Are these a separate category? There is no other category/Styl in HTML that has a red foreground color...
SINGLESTRING _Underlining_ is done in a default color, not in the foreground color. It is orange-like, as is the white-space color. Changing the default white-space symbol color, does affect the _Underlining_ for SINGLESTRING
SGMLDEFAULT _Underlining_ is done in another foreground color. This is also the same white-space symbol color.
Possibly other styles have their problems as well. I was not able to test them all. I did not find any effect for ENTITY, for example, but I don't know what I should expect. I simply don't know what an ENTITY is.
My main problem was that COMMENTs are not by default in the same font as all other styles. I guess this would be no problem if the COMMENTs' settings would be applied right. The style would follow the general default for fonts, which is Courier New as I like.
Another question related to my playing around with these settings: (HOW) can I simply return to all default values for a certain style or possibly all styles (otherwise than by re-installing)?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
[First this: do you see the title? It's longer than allowed when typing it yourself. I could remove a couple of characters, but coulnd't type any new. The original title already had the maximum number of characters.]
It turns out that Javascript inside HTML follows its own settings, that is the settings for the JavaScript language/style. Why is this? I would very much like to have a single set of settings for all items in the same HTML file. Currently, in order to have all the HTML-code look the same, I have to change a number of settings in several languages. I don't think this is very intuitive. Number are numbers, for example, and I really don't want to distinguish JavaScript numbers from HTML-numbers.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I downloaded the .bin.zip package and copied the styles.xml file to my Notepad++ folder. This seems to do the trick. I'll post another question about getting separate files.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
but "code comment"( line)s preceded by // are not affected at all.
They _are_ shown as comments, though: colored green and in the Comic Sans MS font.
I would expect these also to be shown with the HTML COMMENT settings.
Otherwise, there should be a separate category/style for these comments.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It seems not all settings for HTML files are applied to the file text. Also, settings are not _always_ applied. I wonder how to change these, or possibly what other (file types') settings I have to change in order to affect the HTML style.
Problems I found:
COMMENT None of these settings seems to have any effect
NUMBER This setting does affect numbers as attributes values, but:
It does not affect numbers between parentheses, as well as separate numbers, although these both seem to be recorgnized as numbers. They _are_ shown in red. Are these a separate category? There is no other category/Styl in HTML that has a red foreground color...
SINGLESTRING _Underlining_ is done in a default color, not in the foreground color. It is orange-like, as is the white-space color. Changing the default white-space symbol color, does affect the _Underlining_ for SINGLESTRING
SGMLDEFAULT _Underlining_ is done in another foreground color. This is also the same white-space symbol color.
Possibly other styles have their problems as well. I was not able to test them all. I did not find any effect for ENTITY, for example, but I don't know what I should expect. I simply don't know what an ENTITY is.
My main problem was that COMMENTs are not by default in the same font as all other styles. I guess this would be no problem if the COMMENTs' settings would be applied right. The style would follow the general default for fonts, which is Courier New as I like.
Another question related to my playing around with these settings: (HOW) can I simply return to all default values for a certain style or possibly all styles (otherwise than by re-installing)?
[First this: do you see the title? It's longer than allowed when typing it yourself. I could remove a couple of characters, but coulnd't type any new. The original title already had the maximum number of characters.]
It turns out that Javascript inside HTML follows its own settings, that is the settings for the JavaScript language/style. Why is this? I would very much like to have a single set of settings for all items in the same HTML file. Currently, in order to have all the HTML-code look the same, I have to change a number of settings in several languages. I don't think this is very intuitive. Number are numbers, for example, and I really don't want to distinguish JavaScript numbers from HTML-numbers.
I downloaded the .bin.zip package and copied the styles.xml file to my Notepad++ folder. This seems to do the trick. I'll post another question about getting separate files.
The COMMENT settings DO apply to HTML <...> comments including the meta tag(?):
<!-- <meta http-equiv="Page-Enter" content="blendTrans(Duration=0.2)">
<meta http-equiv="Page-Exit" content="blendTrans(Duration=0.2)"> -->
but "code comment"( line)s preceded by // are not affected at all.
They _are_ shown as comments, though: colored green and in the Comic Sans MS font.
I would expect these also to be shown with the HTML COMMENT settings.
Otherwise, there should be a separate category/style for these comments.