The Formula Editor has been improved to simplify formula edition with a more powerful code editor:
- The Objects, Functions and Operators panels have been moved to the right. This leaves more space to display the list in these panels and the Formula field.
- Syntax analysis is applied on the fly: the strings in the formulas are colored depending on their type: functions, objects, strings, comments… Unrecognized parts are underlined in red.
- Formulas are displayed using a mono-space font to improve readability.
- When you move the cursor behind a parenthesis, the pairing parenthesis is highlighted.
- Line numbers are displayed in the Formula Text field.
- When hovering the mouse over an object or a function in the panels, a tooltip displays the object properties or the function help.
- To create more readable and maintainable formulas, you can use the classic comments usually supported by most programming languages in the formula language. To comment the end of a line, you may use // and to comment a block in the formula, you may use /* */
Shortcuts are supported in the Formula text field:
Ooperating System | Shortcuts |
---|---|
Windows | [Ctrl]+[Z], [Ctrl]+[Y] to undo and redo. [Ctrl]+[X], [Ctrl]+[C], [Ctrl]+[V] to cut, copy and paste content. |
IOS | [Cmd]+[Z], [Cmd]+[Shift]+[Z]: to undo and redo. [Cmd]+[X], [Cmd]+[C], [Cmd]+[V]: to cut, copy and paste content. |