Hi, just got E Text Editor after 2 years using dreamweaver (i'm very exited). Anyway I am working my way through its snippets section and customising them for personal preference etc, when i got to this one, and i have no idea what it does... Its Called: PHP Error Catching Javascript and it creates this code;
<script type="text/javascript" charset="utf-8"> /* <![CDATA[ */ function scanErrors() {
bolds = document.getElementsByTagName('b');
for (index = 0; index < bolds.length; index++) {
if (bolds[index].innerText.match('(Strict Standards|Warning|Notice|(Parse|Fatal) error)')) {
Hey Chris, I'm not sure if I'm any help but it looks like its going through some file finding all the b nodes (HTML bolds) and if any of them match PHP specific keywords then it builds a link with E Text Editor? so I guess you can jump to error? If thats the case thats cool, cause I hate debugging client side code in-browser and not translate to my editor...
Anyway I am working my way through its snippets section and customising them for personal preference etc, when i got to this one, and i have no idea what it does...
Its Called: PHP Error Catching Javascript
and it creates this code;
Any Ideas? Many Thanks, Chris
*EDIT: Cleaned it up :) - Rob *