Maybe I have a wrong config or I am missing something but let me explain what I am seeing.
I use PHP with several include files in my developments. I noticed that those included files are not HTML highlighted at all (corresponding tags I mean). I cannot figure when are and when aren't highlighted.
I propose to have all the HTML highlighted always (maybe an option or so).
Any comments are welcome.
ADDED>>>
I made some research:
I add the doctype, html,body and corresponding closing tags to one of these included files. Saved and didn't work as well.
I copied all this code to a new php file and... was highlighted. I deleted all the extra code I added (doctype, etc.) and continued to work.
Then I closed WB and started again and the file (the very same) was not highlighted at all.
Some gremlin is around here I guess.
Highlight matching and missing HTML always
Moderator: kfury77
Forum rules
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
Please follow these guidelines when posting feature requests. This will help to increase the value of your contribution.
- Do not create new topics for already requested features. Add your comments to the existing feature request topics instead;
- Create separate topic for each feature suggestion. Do NOT post a number of non-related feature suggestions in a single topic;
- Give your topic a meaningful title. Do NOT create topics with meaningless titles, such as "My Suggestion" or "My Problem".
Re: Highlight matching and missing HTML always
I am guessing here but this could be just a simple matter of setting one's option etc. with WB.
Sure, 'out of the box it is great...then there comes the time that one wishes to add or make change that reflect their taste...
BUT then again, I am not or haven't used php to any extent.
mapleleaf
Sure, 'out of the box it is great...then there comes the time that one wishes to add or make change that reflect their taste...
BUT then again, I am not or haven't used php to any extent.
mapleleaf
Re: Highlight matching and missing HTML always
Sorry mapleleaf. I missed your point.
There is an option to highlight HTML and is on. The issue is with this included files while edited individually.
Maybe there is the need to have some more info to decide how to highlight or something.
But there is no need to use php to test this as follows: Make a simple html file without any doctype, body, head (example:)
You cannot see any highlighting with this file even when the option is turned on. (at least I don't see any. See the picture: http://img576.imageshack.us/img576/4194/wb2t.jpg) The cursor is at the end of line 3, so that div would be in green as the corresponding in line 6. Is more clear now?
Maybe (I'll appreciate that) you can test and see if works on your side.
Regards
There is an option to highlight HTML and is on. The issue is with this included files while edited individually.
Maybe there is the need to have some more info to decide how to highlight or something.
But there is no need to use php to test this as follows: Make a simple html file without any doctype, body, head (example:)
Code: Select all
<div class="left_menutop"></div>
<div class="left_menu_area">
<div align="right">
<a href="http://mydomain.com/index.php" class="left_menu">Inicio</a><br />
<a href="http://mydomain.com/inscripciones.php" class="left_menu">Inscripciones</a><br />
</div>
</div>
Maybe (I'll appreciate that) you can test and see if works on your side.
Regards
Re: Highlight matching and missing HTML always
Hola. como estasnotuo wrote: You cannot see any highlighting with this file even when the option is turned on. (at least I don't see any. See the picture: http://img576.imageshack.us/img576/4194/wb2t.jpg) The cursor is at the end of line 3, so that div would be in green as the corresponding in line 6. Is more clear now?
Maybe (I'll appreciate that) you can test and see if works on your side.
Regards
OK, love challenges.
I opened WB then copied your examples
voila

I see highlighting at my end.
Try this, check your settings in/with WB and if that doesnt do it then:
1. unistall WB
2. clean if any entries out of the registry using (ie) CCleaner
3, if necessary defrag and compact your registry; defrag your system
4. reboot
5. re-install WB check the setting etc (if you are not using WB v2010 then vget a copy )
6. repeat to see IF the issue persists
mapleleaf
Re: Highlight matching and missing HTML always
What program and exact version are you using?notuo wrote: Any comments are welcome.
Re: Highlight matching and missing HTML always
10.2.0.121x3po wrote: What program and exact version are you using?
Estoy muy bien, gracias. Espero que tú también.mapleleaf wrote: Hola. como estas
OK, so is local here. I'll take a deeper look. The thing is I reinstalled all my machine last December from scratch; reinstalled a clean Windows 7, updated and then installed all the software as well.mapleleaf wrote: I see highlighting at my end.
I'll be back with my results.
Thank you both.
EDIT>>> One more thing mapleleaf,
Do you make the file, saved, exited WB and then start WB again? IF I just make the file and use it, no problem. But after I saved and have another WB session the highlight disappeared. Also happens when you close the file and open it again.
Can you clarify this for me please?
Re: Highlight matching and missing HTML always
Hi notuo,
Is the highlighting always missing or only in some occasions (for HTML files, I mean)?
If it is always hidden, check out what do you have under Main Menu; Options; Preferences; Language Options; HTML; field "HTML Language Specification"
Kind regards,
Gatis
Is the highlighting always missing or only in some occasions (for HTML files, I mean)?
If it is always hidden, check out what do you have under Main Menu; Options; Preferences; Language Options; HTML; field "HTML Language Specification"
Kind regards,
Gatis
Kind regards,
Gatis Avots
Gatis Avots
Re: Highlight matching and missing HTML always
Hi Gatis, Thank you. You are right.
I have missed the type of HTML. I set this and is working fine.
I don't know how this was blank.
Regards,
I have missed the type of HTML. I set this and is working fine.
I don't know how this was blank.
Regards,
Re: Highlight matching and missing HTML always
I will see how to make it sure that at least one specification is always selected.
Maybe I wouldn't have found the cause, wouldn't I have the same issue suddenly on my PC.
Gatis
Maybe I wouldn't have found the cause, wouldn't I have the same issue suddenly on my PC.
Gatis
Kind regards,
Gatis Avots
Gatis Avots