From: Thyamad c. <th...@us...> - 2005-08-23 17:51:28
|
Update of /cvsroot/thyapi/thyapi/ext In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv1936/ext Modified Files: debug.html debug.js Log Message: Commiting file additions and modification from SVN revision 1844 to 1845... Changes made by vinicius on 2005-08-23 20:26:32 +0200 (Tue, 23 Aug 2005) corresponding to SVN revision 1845 with message: Changes in debug object to allow to find text inside it Index: debug.html =================================================================== RCS file: /cvsroot/thyapi/thyapi/ext/debug.html,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** debug.html 23 Aug 2005 13:14:04 -0000 1.2 --- debug.html 23 Aug 2005 17:51:16 -0000 1.3 *************** *** 88,92 **** +'.textinspect{width:90px;}' +'.textreload{width:130px;}' ! +'.textprint{width:100%; height:100%;}' +'.textstat{width:100%;}' +'.texteval{width:100%;height:132px;}' --- 88,92 ---- +'.textinspect{width:90px;}' +'.textreload{width:130px;}' ! +'.textprint{width:100%; height:400px; overflow:auto; background-color:white;}' +'.textstat{width:100%;}' +'.texteval{width:100%;height:132px;}' *************** *** 115,119 **** h[s++]='<input type="text" name="inspect" size="10" class="debugtextbox textinspect"></td><td>'+imginspect+'</td><td>\n'; h[s++]='<input type="text" name="reload" size="15" class="debugtextbox textreload"></td><td>'+imgreload+'</td></tr></table></td></tr><tr><td align="center" colspan="2">\n'; ! h[s++]='<textarea name="print" rows="11" cols="40" class="debugtextbox textprint" wrap="off"></textarea></td></tr>\n'; h[s++]='<tr><td nowrap><table border="0" cellspacing="0"><tr><td>\n'; h[s++]='<font face="'+(dynapi.ua.mac?'Monaco':'Courier')+'" size="1">'+imgclear+'</font></td><td>\n'; --- 115,119 ---- h[s++]='<input type="text" name="inspect" size="10" class="debugtextbox textinspect"></td><td>'+imginspect+'</td><td>\n'; h[s++]='<input type="text" name="reload" size="15" class="debugtextbox textreload"></td><td>'+imgreload+'</td></tr></table></td></tr><tr><td align="center" colspan="2">\n'; ! h[s++]='<div class="debugtextbox textprint"><xmp id="print" style="text-align:left;"></xmp></div></td></tr>\n'; h[s++]='<tr><td nowrap><table border="0" cellspacing="0"><tr><td>\n'; h[s++]='<font face="'+(dynapi.ua.mac?'Monaco':'Courier')+'" size="1">'+imgclear+'</font></td><td>\n'; *************** *** 132,136 **** document.close(); </script> - </body> </html> --- 132,135 ---- Index: debug.js =================================================================== RCS file: /cvsroot/thyapi/thyapi/ext/debug.js,v retrieving revision 1.2 retrieving revision 1.3 diff -C2 -d -r1.2 -r1.3 *** debug.js 23 Aug 2005 13:14:04 -0000 1.2 --- debug.js 23 Aug 2005 17:51:16 -0000 1.3 *************** *** 109,114 **** this._buffer = ''; } ! this.win.document.debugform.print.value += s; ! this._normalModeData = this.win.document.debugform.print.value; // Does mozilla has something like this? --- 109,114 ---- this._buffer = ''; } ! this.win.document.getElementById('print').innerHTML += s; ! this._normalModeData = this.win.document.getElementById('print').innerHTML; // Does mozilla has something like this? *************** *** 169,177 **** if (!this.isLoaded) return; if(m=='watch'||(this._mode=='normal' && m!='normal')) { ! this._normalModeData = this.win.document.debugform.print.value; this._mode='watch'; this._enableWatch(); }else if(m=='normal'||(this._mode=='watch' && m!='watch')){ ! this.win.document.debugform.print.value=(this._normalModeData)?this._normalModeData:''; this._mode='normal'; this._disableWatch(); --- 169,177 ---- if (!this.isLoaded) return; if(m=='watch'||(this._mode=='normal' && m!='normal')) { ! this._normalModeData = this.win.document.getElementById('print').innerHTML; this._mode='watch'; this._enableWatch(); }else if(m=='normal'||(this._mode=='watch' && m!='watch')){ ! this.win.document.getElementById('print').innerHTML=(this._normalModeData)?this._normalModeData:''; this._mode='normal'; this._disableWatch(); *************** *** 245,249 **** } if(src!=this._oldWatchSrc){ ! this.win.document.debugform.print.value=this._oldWatchSrc=src; } if(this._timerWatch) window.clearTimeout(this._timerWatch); --- 245,249 ---- } if(src!=this._oldWatchSrc){ ! this.win.document.getElementById('print').innerHTML=this._oldWatchSrc=src; } if(this._timerWatch) window.clearTimeout(this._timerWatch); |