Page 1 of 1

Apostrophe in comment breaks ctb script [fixed]

Posted: 21 Jun 2014 15:56
by bdeshi
If comments in ctb script have ', a <tab> is introduced. When it happens in LClick script, the RClick script is moved and appended to LClick.

Code: Select all

Snip: CTB 1
  XYplorer 14.20.0204, 6/21/2014 7:55:51 PM
Action
  NewUserButton
Name
  
Icon
  
ScriptL
  //here's a culprit
   $v = LClick;
   echo $v;
ScriptR
  //We'll move up
   echo "I was in RClick!";
FireClick
  0

Re: Apostrophe in comment breaks ctb script

Posted: 22 Jun 2014 14:15
by admin
Argh, that one again. I keep on toggling between fixing one thing and destroying another. :bug: :evil:

http://www.xyplorer.com/xyfc/viewtopic.php?f=2&t=7223
http://www.xyplorer.com/xyfc/viewtopic.php?f=2&t=11615
http://www.xyplorer.com/xyfc/viewtopic.php?f=2&t=11990

Well, this time I hope I squashed it for good. :twisted:

Re: Apostrophe in comment breaks ctb script

Posted: 22 Jun 2014 14:39
by bdeshi
:D Yay!
Edit: the current method is the better, completely disallowing tabs, since it causes so much trouble. Still allow vertical tabs though? :P