Apache OpenOffice (AOO) Bugzilla – Issue 38992
color in levels of () [] & {}
Last modified: 2013-02-07 22:37:41 UTC
It would be nice if the math editor can show (in the editor, not in the real object, or maybe like an option, in the real object too) the level of the ( [ { displaying it in color. Also (optionally) the content on that level could be in the same color. This way you can quickly see if two distinct and separated parts of an equation are in the same level (for example if they are products). For example (((a+b)c)d(e+f)) first ( show in red together with the d and the last ) second ( show in green together with the c) and the (e+f) third ( show in blue together with a+b) Another scheme of colors could be from darker to lighter, or via a hue rotation... This way you could easily understand when the () starts and ends. Also could help you to track problems in long nested formulae like %DELTA_F(x_2-x_1)=-i int{{d^3k}over{2E(2%pi)^3}}left[%theta(%tau_2-%tau_1)(overstrike k+m) e^-{i vec k cdot (vec x_2-x_1)}-%theta(%tau_1-%tau_2)(overstrike k-m)e^{i vec k cdot(vec x_2-x_1)}right]
This proposal makes a lot of sense! Better than color highliting (risky from an Accessibility point of view) I'd advocate for a bold markeup of the breaks when the cursor is on them.
*** Issue 51753 has been marked as a duplicate of this issue. ***
Other editors simply highlight the corresponding bracket when one clicks on a bracket. So, taking the example of (((a+b)c)d(e+f)); if I click on the second bracket, the bracket after the c is highlighted. I like this, and it doesn't make editing formulae look like a rainbow or something.
Could the summary be changed to include the words "syntax highlighting"? Thank you! I think the best way would be to implement both types of highlighting and make it user configurable: the "permanent" one and the one that highlights something only one the cursor is at the right place (ie. brackets when it's between them). Also, highlighting of commands (matrix, over, size...), operators (+, -, =) and special charaters (%omega, %beta...) would be very useful when dealing with large formulas. Please vote for this issue if you like this enhancement :-)
One more issue, which exists for a long time and still without a target. Target is needed. And much better not OOoLater. :-)
In editors with command line input syntax highlighting is a very important for ease, especially then you write big formulas. And i agree this dma2002 that target is needed.
*** Issue 93024 has been marked as a duplicate of this issue. ***