I'm currently using WeBuilder 2007 8.2.0.79, and I have a question about syntax highlighting.
Let's say I want to write a div inside an html document:
<div></div>
Here everything's fine: if I mistype <div> and write, for example, <divv> it will be highlighted in red.
Now, I want to add some attributes, for instance, id.
Here, if I mistype "id" and write, for example, "idd" - it won't be pointed out to me (I know that a list of available attributes is shown to me in the inspector window, but it would also be nice to have an unknown attribute highlighted).
Also, if if add style and mistype it, for example "font-weightt":
"font-weightt" is not highlighted as error in any way!
Also, a list of styles (available for <div>) is not shown anywhere (the css property list appears in the inspector only if I'm editing a css file - and if I'm not mistaken, it shows ALL css properties, instead of the properties pertaining only to the selected element).
Maybe I'm missing something obvious... Is there a way to make WeBuilder behave in the indicated way, that is, to highlight all errors and list all css properties pertaining only to the selected tag (like <div>) within the "style" attribute?
Thank you and best regards!
syntax highlighting and css properties
Moderator: kfury77
Forum rules
Please try to follow these guidelines. This will help to receive faster and more accurate response.
Please try to follow these guidelines. This will help to receive faster and more accurate response.
- Check the Support section of the corresponding product first. Chances are you will find your answer there;
- Do not create new topics for already reported problems. Add your comments to the existing topics instead;
- Create separate topic for each problem request. Do NOT post a number of non-related problem reports in a single topic;
- Give your topic a meaningful title. Titles such as "A question," "Bug report" and "Help!" provide others no clue what your message is about;
- Include the version number of the software you are using;
- This is not an official customer support helpdesk. If you need a prompt and official response, please contact our support team directly instead. It may take a while until you receive a reply in the forum;
- Karlis
- Site Admin
- Posts: 3605
- Joined: Mon Jul 15, 2002 5:24 pm
- Location: Riga, Latvia, Europe
- Contact:
Error highlighting for PHP tag properties is not possible and we are not planning to include it, because it is way too complex and would make the program a bit slower.
font-weightt should be highlighted in red IF it is inside CSS file or CSS code block. if you are using style="font-weightt", then, of course, it will not be highlighted because error-checking is not available in the inline CSS.
To see available IDs/Classes for a DIV, in your HTML code, type <div id=" and wait a moment for auto-complete to kick in OR if you already have <div id="bogus">, put the caret inside the ID and press Ctrl+Space.
font-weightt should be highlighted in red IF it is inside CSS file or CSS code block. if you are using style="font-weightt", then, of course, it will not be highlighted because error-checking is not available in the inline CSS.
To see available IDs/Classes for a DIV, in your HTML code, type <div id=" and wait a moment for auto-complete to kick in OR if you already have <div id="bogus">, put the caret inside the ID and press Ctrl+Space.