Breaking changes! Boxes and Editor #55
JerryI
started this conversation in
Documentation
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
It was a long path starting from denying Mathematica's
Boxes
to using them everywhere.Before, anything related to "2D Math input" was an odd combination of editor's tokens and WL expressions syntax. For example
In the editor's input field it looks like
There are many problems with that
{
,[
(slow and unreliable!)CM6Fraction
or other (my bad in implementation). It means when the expression gets bigger it slows down frontend, especially big matrixesIn principle to maintain such syntax-sugar, one need to give to the editor some hints and markers, that shows what and where should be transformed. The safest way is to use WL comments.
Now the same expression will look like this
It does look more complicated, but if you just remove all comments
It has a big impact on the performance, especially while working with matrixes.
InterpretationBox
and other sweet tools are supported in a similar way using comments.The previous notations like
CM6Fraction
and etc are still supported in Kernel, but they will not be drawn in the editor.Hope it will improve your experience with 2D Math input.
Cheers,
Kirill
Beta Was this translation helpful? Give feedback.
All reactions