Questions about highlighting for Mathematica input in the Mathematica front-end, and Wolfram Workbench.

learn more… | top users | synonyms

2
votes
1answer
71 views

Error with comments inside and expression

I found this strange parsing error with comments inside of an expression in Version 7. And example is {{1, x}, {1, y} (* {1, z (= 5+6)} *)}; It occurs depending ...
2
votes
1answer
93 views

Why the coloring in Block construct? [duplicate]

I want a function that works like in the following example: it gets an expression which contains a variable var and evaluate it setting setting var = value. I used ...
2
votes
0answers
207 views

Syntax colouring when using Symbolize

I need to use symbols with suffixes in order to make my code readable in relation to the Eurocodes. To do this I use Symbolize from the ...
1
vote
3answers
54 views

Can highlight an expression in mathematica in an expansion?

I ask mathematica to make an expansion of some expression. Is there a way to ask mathematica to highlight all terms that, say, goes by x^3 since it is really hard to find them? E.g. ...
1
vote
1answer
67 views

Overloading ClearAll[] to take no arguments

I use the command ClearAll["Global`*"] so much that I thought it would be nice to have a function that called it. Since by default ClearAll requires an ...
1
vote
1answer
57 views

Module and Manipulate: Why the Red Highlighting? [duplicate]

If I define a function that returns a Manipulate object, and the Manipulate has a local variable inside of it, the local ...
1
vote
1answer
106 views

Custom highlighting in definitions

Suppose we defined a pattern with custom pattern name provided by user, like Quiet[myCustomPattern@terms_ := f[terms : (_[_, _])..]] for use in further ...
1
vote
0answers
36 views

How to disable OperatorSubstitution in a style sheet without losing syntax highlighting for local variables

I'm trying to define a custom style sheet that has "OperatorSubstitution" set to false in order to keep fonts consistent. However, whenever I disable this, I lose ...
1
vote
0answers
43 views

Syntax highlighting of RuleDelayed involving Orderless symbols

I am using version 10.0.2 If I set SetAttributes[ol, Orderless] Then the following expression appears to be highlighted incorrectly after clicking in it (no ...
1
vote
0answers
90 views

Why has my syntax coloring changed?

Local variables in Module are no longer specially colored for me, but other syntax coloring remains, for example iterators in a ...
1
vote
0answers
91 views

Is there any other built-in color scheme for highlighting text?

Blue variable name and black key words seem boring to me now. I find that the color scheme of this site is better. Can I apply that in my notebook?
0
votes
2answers
65 views

Function input syntax [closed]

My functions are ...
0
votes
1answer
58 views
0
votes
0answers
38 views

Option ItemAspectRatio in GraphicsGrid has weird behaviour in MMA 10.3

Has anybody noticed that the Option ItemAspectRatio in GraphicsGrid is no longer valid? It ...
0
votes
0answers
98 views

My “N” turned red randomly [duplicate]

For some reason my N function showed up in red even though I haven't noticed it in that color before. The color actually makes the code much more readable but I just don't know if I should be alarmed ...