Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

TypedActionHandler and TypedHandlerDelegate implementations are invoked only once for each typed character. If those handlers need to support multiple carets, they will need to implement that explicitly.

Info

EditorModificationUtil.typeInStringAtCaretHonorMultipleCarets utility method is available to do the most common task in this case - inserting the same text into all caret positions and/or moving all carets relatively to their current position. Examples of its usage: TypedAction.Handler, XmlGtTypedHandler.