Don't ask to ask, just ask | |
PerlMonks |
Re^2: PM Code Tidier/Highlighterby juster (Friar) |
on Oct 28, 2008 at 23:36 UTC ( [id://720128]=note: print w/replies, xml ) | Need Help?? |
Oops that is entirely my fault. I forgot to test with PM's code wrapping feature turned off. I have fixed this major oversight and many smaller problems. New script version is: PMTidy-1.2.user.js.Almost all formatting issues are fixed. The one I couldn't figure out is how to get the trailing newline being exactly the same as the original code. I was having problems getting Greasemonkey to give me a fresh copy of the script. It seemed to use a cached version and even when I deleted the temporary file and cleared my browser history it still gave me an old version. Maybe I have to dig into the .mozilla directory to find a file in there to delete. An easier solution was to give the script a new file name on the webserver: PMTidy-1.2.user.js (same link as above). I also updated the perl script without thinking about the fact that it might screw anyone who might be using the old script. If it does I'm sorry and try the new script. Thank you ccn, for trying this and telling me there was a problem. I'm hoping I fixed it. If not please tell me.
In Section
Perl Monks Discussion
|
|