Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface SetCaretOptions

Options affecting how a caret gets set.

Hierarchy

Index

Properties

Properties

Optional focus

focus: undefined | true | false

Indicates whether the caret change should set the focus. The default is true.

Optional textEdit

textEdit: undefined | true | false

When true indicates that the caret movement is due to a text editing operation. This matters for managing undo steps. Text edits are gathered into an single text undo step unless they are interrupted by some other operation (or reach a maximum size). Caret movements also interrupt the text undo steps, unless this flag is true. The default is false.

Generated using TypeDoc