Multiple attributes not highlighted

Syntax highlighting, code folding, brace matching, code indenting, and function list

Multiple attributes not highlighted

Postby mary.vivit » Tue Nov 23, 2004 6:50 pm

I'm sure this is a simple configuration problem, but it's driving me crazy. I'm running UE 10.20c on WinXP. Only the first attribute within each HTML tag is highlighted, the following ones aren't. The attribute case doesn't matter. What do I have set incorrectly? Thanks for the help!
User avatar
mary.vivit
Basic User
Basic User
 
Posts: 35
Joined: Tue Nov 23, 2004 12:00 am

Re: Multiple attributes not highlighted

Postby Mofi » Wed Nov 24, 2004 2:36 am

I think, such a configuration is not possible. If only the first attribut is highlighted, then the others are not specified correct. Give us an html example and post also the language (/Lx"HTML") and delimiters (/Delimiters) definition lines from the wordfile for syntax highlighting (Wordfile.txt in UE directory per default).
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4069
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Multiple attributes not highlighted

Postby mary.vivit » Mon Nov 29, 2004 11:15 am

Thanks for the help. Here is a simple bit of HTML. The word "target" is not red though "href" is. The text from the first "=" following "href" through the last quote mark before the closing ">" is all green.

<html>
<head>
<title>My Page Title</title>
</head>
<body bgcolor="#ffffff">
<h1>This is h1 text.</h1>
<a href="somefile.html" target="_blank">Anchor text</a>
</body>
</html>

The language block from wordfile.txt:


/L3"HTML 4.01" Nocase Noquote HTML_LANG Block Comment On = <!-- Block Comment Off = --> Block Comment On Alt = =" Block Comment Off Alt = > String Chars = " File Extensions = HTM HTML ASP SHTML HTT HTX JSP
/Delimiters = ~!@$%^&*()+=|\{}[];"'<> , .?
/Function String = "name=*">"
/C1"Tags"
User avatar
mary.vivit
Basic User
Basic User
 
Posts: 35
Joined: Tue Nov 23, 2004 12:00 am

Re: Multiple attributes not highlighted

Postby fbuck » Mon Nov 29, 2004 2:53 pm

The 'Block Comment On Alt = =" Block Comment Off Alt = >' settings are what is causing anything beteween '="' and '>' to be shown as green highlights.

I'm also curious as to why there is a ' String Chars = "' statement. Isn't this redundant since the default string character is already the quote mark.
User avatar
fbuck
Newbie
 
Posts: 1
Joined: Mon Nov 29, 2004 12:00 am

Re: Multiple attributes not highlighted

Postby mary.vivit » Mon Nov 29, 2004 2:59 pm

Thanks for the help, fbuck. I downloaded the HTML portion from an HTML-specific wordfile on this (the IDM) site. I'll take a close look at it.

Mary
User avatar
mary.vivit
Basic User
Basic User
 
Posts: 35
Joined: Tue Nov 23, 2004 12:00 am

Re: Multiple attributes not highlighted

Postby mary.vivit » Mon Nov 29, 2004 3:52 pm

I changed the Block Comment On Alt and Off Alt characters to /* and */, respectively. So far, so good. I've set the string colors within the Advanced>Configuration panel, but my strings within the tags aren't showing up in that color. I can force the string character (double quote) to display in a specific color, but not the characters within the string. What am I missing?

Thank you all for your help on these very basic questions.
User avatar
mary.vivit
Basic User
Basic User
 
Posts: 35
Joined: Tue Nov 23, 2004 12:00 am

Re: Multiple attributes not highlighted

Postby Mofi » Tue Nov 30, 2004 3:41 am

String Chars = is ignored because of the Noquote keyword in the language definition line. Delete it and strings will be highlighted as you expect.
User avatar
Mofi
Grand Master
Grand Master
 
Posts: 4069
Joined: Thu Jul 29, 2004 11:00 pm
Location: Vienna

Re: Multiple attributes not highlighted

Postby mary.vivit » Tue Nov 30, 2004 10:51 am

Awesome, Mofi! Thanks so much for the hand-holding!!!!

Mary - in cold, cold Utah
User avatar
mary.vivit
Basic User
Basic User
 
Posts: 35
Joined: Tue Nov 23, 2004 12:00 am


Return to Syntax Highlighting