Introduction
With the successful migration to HTML5, Kepion's code editor has received major and minor updates you should know about. We hope these changes improve your experience writing SQL and MDX rules in Kepion!
Line numbers
A simple, though essential update to the code editor, line numbers help you identify and reference specific parts of SQL and MDX rules.
Section selection
If you want to select sections of the rule using your keyboard, you can now do so by using the Ctrl + Alt + Arrow keys.
Advanced syntax highlighting
We have updated syntax highlighting to instantly render all structures in distinct colors. The code editor does not instantly highlight errors. It will identify them when you save the rule, though.
Modes
The code editor now has two modes: Authoring and Publish (Read-only).
Switch between the two by selecting the drop-down and choosing the desired mode.
In Authoring mode, you can write and edit the rule. Publish (Read-only), as the name suggests, prevents users from making changes. The purpose of Publish (Read-only) is to see how variables will render when a rule is published.
Find and Replace Text
Use Ctrl + F to open the text finder.
Find Text
- Allows you to move between found instances
- Enable to make search case-sensitive
- Searches based on full word(s)
Tip: You can turn on both search restrictions to further narrow your search.
Empty or Replace Text
To empty or replace text, you must first enter text in the search box . Enter your replacement text in the Empty or replace text... field. Leave the field empty if you want to delete found instances of the text.
- Replaces next found instance with new text
- Replaces all found instances with new text