Describes a rule to be evaluated when pressing Enter.
Describes a rule to be evaluated when pressing Enter.
(action on-enter-rule)
The action to execute.
Returns: EnterAction
The action to execute. **Returns:** `EnterAction`
(after-text on-enter-rule)
This rule will only execute if the text after the cursor matches this regular expression.
Returns: RegExp | undefined
This rule will only execute if the text after the cursor matches this regular expression. **Returns:** `RegExp | undefined`
(before-text on-enter-rule)
This rule will only execute if the text before the cursor matches this regular expression.
Returns: RegExp
This rule will only execute if the text before the cursor matches this regular expression. **Returns:** `RegExp`
(previous-line-text on-enter-rule)
This rule will only execute if the text above the current line matches this regular expression.
Returns: RegExp | undefined
This rule will only execute if the text above the current line matches this regular expression. **Returns:** `RegExp | undefined`
(set-action! on-enter-rule value)
The action to execute.
The action to execute.
(set-after-text! on-enter-rule value)
This rule will only execute if the text after the cursor matches this regular expression.
This rule will only execute if the text after the cursor matches this regular expression.
(set-before-text! on-enter-rule value)
This rule will only execute if the text before the cursor matches this regular expression.
This rule will only execute if the text before the cursor matches this regular expression.
(set-previous-line-text! on-enter-rule value)
This rule will only execute if the text above the current line matches this regular expression.
This rule will only execute if the text above the current line matches this regular expression.
cljdoc builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |