Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
Questions about highlighting for Mathematica input in the Mathematica front-end, and Wolfram Workbench.
2
votes
Why the coloring in Block construct?
The coloring is there to tell you of a possible conflict. Your function will be replacing var in both the Block and RuleDelayed with whatever you use as the second term of the first argument. It's p …
4
votes
Accepted
Nested list of patterns in SyntaxInformation "ArgumentsPattern"
The documentation says:
Your form is not one of these so it cannot be expected to work. (It would be nice if it did of course.)
I cannot think of a way to get the syntax highlighting you seek, gi …
11
votes
Accepted
No Syntax Highlighting of Package Functions
I don't know what is causing your problem, but presumably you can still specially color the symbols in those contexts as I do. For example:
SetOptions[$FrontEnd,
AutoStyleOptions -> {"SymbolConte …
5
votes
Output code not highlighted when used as input
It has been like this for a long time, hasn't it? At least since version 7. I always assumed that InputForm (the Head, not the format) wasn't really intended for reentry, though since it does mostly …
25
votes
Why is this semicolon in red?
A bit of historic background
Before Mathematica version 6 graphics were produced as a side-effect much as Print works now. In fact you can load this old system using:
<< Version5`Graphics`
Now yo …
2
votes
Accepted
Overloading ClearAll[] to take no arguments
In version 10 under Windows I am unable to reproduce the problem you describe:
Unprotect[ClearAll];
ClearAll[] := ClearAll["Global`*"]
SyntaxInformation[ClearAll] = {"ArgumentsPattern" -> {___}};
…
2
votes
How to robustly apply ToBoxes to a Dynamic expression?
Pardon me if this is unjustifiably curt but I don't see how this problem is different from many others that result from placing Dynamic too deep within an expression. Move the Dynamic to the outside …
26
votes
How to program a F::argx message?
The large addendum on handling multiple messages as built-ins do has been moved to a separate post; please see the link below for advanced message handling options.
How to check the style and number …
25
votes
Accepted
How can one define an infix operator with an arbitrary unicode character?
You can get the syntax highlighting that you desire by modifying your UnicodeCharacters.tr file (path given by System`Dump`unicodeCharactersTR), though I don't know how advisable this practice is.
Fo …
3
votes
How to prevent front end from suggesting Symbol option names (when actually String), and fro...
By convention option names are Symbols, and String equivalents are accepted.
For example all the formal Options of Plot are Symbols:
Head /@ First /@ Options[Plot] // Tally
{{Symbol, 60}}
Ye …