5
$\begingroup$

As was pointed out here clearing the SyntaxInformation isn't trivial to do.

The best I was able to come up with for clearing it was:

SyntaxInformation[f] =
  {
   "ArgumentsPattern" -> {___},
   "LocalVariables" -> {"Table", 0},
   "ColorEqualSigns"->{0, 0}
   };
SyntaxInformation[f] =.

But a) this shouldn't require two calls and b) this doesn't handle the "OptionNames" parameter. I have no idea how to clear that.

How can we fully reset the SyntaxInformation?

$\endgroup$
1
  • $\begingroup$ I am here. I just about to post the same post : ) +1 $\endgroup$
    – matheorem
    Commented Feb 6, 2018 at 2:32

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Browse other questions tagged or ask your own question.