Author Topic: Edit Bug  (Read 2437 times)

Rick3137

  • Guest
Edit Bug
« on: July 17, 2013, 06:13:50 pm »
         
     I keep running into a bug that you all should be aware of.  You may already know about it , but I'll post it any way.
    My style of cut and paste causes too much white space in the editor. The compiler gets confused and leaves out semicolons in the Java Script output code. When I try to run it, I just get a blank screen. Windows Explorer fails to run it and will not give a clue as to why.
   The solution is to find the bad code in the Java Script and go back to the editor and select and delete the extra spaces at the end of the line.
    Compile again. No problems after this.
   

SteveOW

  • Guest
Re: Edit Bug
« Reply #1 on: July 17, 2013, 08:30:19 pm »
Hi Rick,

I dont seem to get that white space bug any more but perhaps as you say it is a matter of coding style.

For javascript bugs in general if you use Firefox as your browser there is an Add-On/Extension called Firebug (http://getfirebug.com/) which you can install into Firefox.
It is very often helpful in finding bugs.  I dont know what there is for other browsers.

cheers, SteveOW.
PS Nice triangular fractal. :)

Guilect

  • Guest
Re: Edit Bug
« Reply #2 on: July 17, 2013, 09:32:25 pm »
Rick3137, give a snippet of code that causes the issue and I'll take a look into it.

Rick3137

  • Guest
Re: Edit Bug
« Reply #3 on: July 18, 2013, 12:53:49 am »
   I done fixed it and it won't come back. If I see it again I'll save a copy.