Skip to main content
Tweeted twitter.com/#!/StackMma/status/566874404337233921
added 495 characters in body
Source Link
Mr.Wizard
  • 273.1k
  • 34
  • 595
  • 1.4k

I was pleasantly surprised to find out that StringTemplate appears to work with styled (formatted) strings, with the style of the slots applied to the inserted expressions:

![enter image description here][1]enter image description here

(The string was formatted using the Format menu.)

However upon converting that output to an input cell, by placing the cursor at the end of the line and pressing Enter, an error results:

INTERNAL SELF-TEST ERROR: MathEditCells2|c|1411
Click here to find out if this problem is known, and to help improve
the Wolfram System by reporting it to Wolfram Research.

Is this usage intended and the error a bug, or should this not be attempteddocumented? [1]: https://i.sstatic.net/L4abz.png

I was pleasantly surprised to find out that StringTemplate appears to work with styled (formatted) strings, with the style of the slots applied to the inserted expressions:

![enter image description here][1]

(The string was formatted using the Format menu.)

However upon converting that output to an input cell, by placing the cursor at the end of the line and pressing Enter, an error results:

INTERNAL SELF-TEST ERROR: MathEditCells2|c|1411
Click here to find out if this problem is known, and to help improve
the Wolfram System by reporting it to Wolfram Research.

Is this usage intended and the error a bug, or should this not be attempted? [1]: https://i.sstatic.net/L4abz.png

I was pleasantly surprised to find out that StringTemplate appears to work with styled (formatted) strings, with the style of the slots applied to the inserted expressions:

enter image description here

(The string was formatted using the Format menu.)

Is this usage intended or documented?

Source Link
Mr.Wizard
  • 273.1k
  • 34
  • 595
  • 1.4k

Is the use of StringTemplate with a styled string documented behavior?

I was pleasantly surprised to find out that StringTemplate appears to work with styled (formatted) strings, with the style of the slots applied to the inserted expressions:

![enter image description here][1]

(The string was formatted using the Format menu.)

However upon converting that output to an input cell, by placing the cursor at the end of the line and pressing Enter, an error results:

INTERNAL SELF-TEST ERROR: MathEditCells2|c|1411
Click here to find out if this problem is known, and to help improve
the Wolfram System by reporting it to Wolfram Research.

Is this usage intended and the error a bug, or should this not be attempted? [1]: https://i.sstatic.net/L4abz.png