OnEnterRule

interface OnEnterRule(source)

Describes a rule to be evaluated when pressing Enter.

Online Documentation

Properties

Link copied to clipboard
abstract var action: EnterAction

The action to execute.

Link copied to clipboard
abstract var afterText: RegExp?

This rule will only execute if the text after the cursor matches this regular expression.

Link copied to clipboard
abstract var beforeText: RegExp

This rule will only execute if the text before the cursor matches this regular expression.

Link copied to clipboard
abstract var previousLineText: RegExp?

This rule will only execute if the text above the current line matches this regular expression.