Class MarkAction

All Implemented Interfaces:
IAction, IUpdate

public class MarkAction extends TextEditorAction
An action to handle emacs-like marked regions.
Since:
2.0
  • Field Details

  • Constructor Details

    • MarkAction

      public MarkAction(ResourceBundle bundle, String prefix, ITextEditor editor, int type)
      Constructor for MarkAction.
      Parameters:
      bundle - the resource bundle
      prefix - a prefix to be prepended to the various resource keys (described in ResourceAction constructor), or null if none
      editor - the text editor
      type - the mark action type, must be one of SET_MARK, CLEAR_MARK or SWAP_MARK.
  • Method Details

    • run

      public void run()
      Description copied from class: Action
      The default implementation of this IAction method does nothing. Subclasses should override this method if they do not need information from the triggering event, or override runWithEvent(Event) if they do.
      Specified by:
      run in interface IAction
      Overrides:
      run in class Action
      See Also: