Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface OnEnterRule

Describes a rule to be evaluated when pressing Enter.

Hierarchy

  • OnEnterRule

Index

Properties

action

action: EnterAction

The action to execute.

Optional afterText

afterText: RegExp

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

beforeText

beforeText: RegExp

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

Optional previousLineText

previousLineText: RegExp

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

Generated using TypeDoc