by Mofi » Tue Dec 07, 2004 10:10 am
Yes, it is possible. But the solution has one big disadvantage - correct html entities then act as word delimiters, so for example the german word Hölle (engl. hell) are 5 words ("H", "&", "ouml", ";" and "lle"). So selecting words with entities cannot be done anymore with a single double click.
Okay, first you have to add '&' and ';' to the /Delimiters = list.
Second, you have to add one of the two color sections below. The first one (green) is for case-insensitive html syntax highlighting (normal for html), the second is for case-sensitive highlighting. Html is not case-sensitive, but the entities are. So turn off auto-correcting when you use case-insensitive highlighting. And don't forget to set the correct color number /Cx.
/Cx"Entities (no case)"
aacute acirc acute aelig agrave alefsym alpha amp and ang aring asymp atilde auml
bdquo beta brvbar bull
cap ccedil cedil cent chi clubs cong copy crarr cup curren
dagger darr deg delta diams divide
eacute ecirc egrave empty emsp ensp epsilon equiv eta eth euml euro exist
forall frac12 frac14 frac34 frasl
gamma ge gt
harr hearts hellip
iacute icirc iexcl igrave image infin int iota iquest isin iuml
kappa
lambda lang laquo larr lceil ldquo le lfloor lowast loz lrm lsaquo lsquo lt
macr mdash micro middot minus mu
nabla nbsp ndash ne ni not notin nsub ntilde nu
oacute ocirc ograve oline omega omicron oplus or ordf ordm oslash otilde otimes ouml
para part permil perp phi pi piv plusmn pound prime prod prop psi
quot
radic rang raquo rarr rceil rdquo real reg rfloor rho rlm rsaquo rsquo
sbquo sdot sect shy sigma sigmaf sim spades sub sube sum sup1 sup2 sup3 sup supe szlig
tau there4 theta thetasym thinsp thorn times trade
uacute uarr ucirc ugrave uml upsih upsilon uuml
weierp
xi
yacute yen yuml
zeta zwj zwnj
/Cx"Entities (with case)"
AElig Aacute Acirc Agrave Alpha Aring Atilde Auml
Beta
Ccedil Chi
Dagger Delta
ETH Eacute Ecirc Egrave Epsilon Eta Euml
Gamma
Iacute Icirc Igrave Iota Iuml
Kappa
Lambda
Mu
Ntilde Nu
Oacute Ocirc Ograve Omega Omicron Oslash Otilde Ouml
Phi Pi Psi
Rho
Sigma
THORN Tau Theta
Uacute Ucirc Ugrave Upsilon Uuml
Xi
Yacute
Zeta
aacute acirc acute aelig agrave alefsym alpha amp and ang aring asymp atilde auml
bdquo beta brvbar bull
cap ccedil cedil cent chi clubs cong copy crarr cup curren
dArr dagger darr deg delta diams divide
eacute ecirc egrave empty emsp ensp epsilon equiv eta eth euml euro exist
forall frac12 frac14 frac34 frasl
gamma ge gt
hArr harr hearts hellip
iacute icirc iexcl igrave image infin int iota iquest isin iuml
kappa
lArr lambda lang laquo larr lceil ldquo le lfloor lowast loz lrm lsaquo lsquo lt
macr mdash micro middot minus mu
nabla nbsp ndash ne ni not notin nsub ntilde nu
oacute ocirc ograve oline omega omicron oplus or ordf ordm oslash otilde otimes ouml
para part permil perp phi pi piv plusmn pound prime prod prop psi
quot
rArr radic rang raquo rarr rceil rdquo real reg rfloor rho rlm rsaquo rsquo
sbquo sdot sect shy sigma sigmaf sim spades sub sube sum sup sup1 sup2 sup3 supe szlig
tau there4 theta thetasym thinsp thorn times trade
uArr uacute uarr ucirc ugrave uml upsih upsilon uuml
weierp
xi
yacute yen yuml
zeta zwj zwnj