@dolezvo1, behave yourself! Being obscene to other contributors will not help you either.
Also, don’t confuse users by asking the same question again. You can always edit your questions to improve it. It has also the benefit to refresh it and push at top of “active” questions.
That said, your question is not crystal-clear. We don’t grasp your purpose. Do you want some “editing clue” while you are typing your equation (seeing which bracket is the current one like some text editors do, highlighting both brackets in a pair, so that you can see if you’re closing the correct nesting level)? Do you want to make visible the matching brackets for your student’s benefit? Some other goal?
Regarding “{} bracket deletion”, it would be interesting to know how you type your equations: fully manual or with the built-in semi-wizard inserting operators with placeholders?
Line breaks: formulas are described with a macro-like description language. Many objects have a descriptive name which will be replaced by a symbol. Therefore, the formula is rather verbose while its representation is concise. Linebreaks in the formula are a convenience for the user in order to avoid very long single-line formula. The formula “programming” may be better readable on several lines.
If you want to keep linebreaks or insert explicit linebreaks, there are several ways depending on context (matrix or non-matrix). Outside matrices, use the “operator” newline
.
Math is a complex application (which, incidentally, has not been updated to a more modern design for ages). I highly recommend to read the Math Guide.