Class MarkAction

All Implemented Interfaces:
IAction, IUpdate

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

  • Constructor Details

    • MarkAction

      public MarkAction(ResourceBundle bundle, String prefix, ITextEditor editor, int type)
      Constructor for MarkAction.
      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
      run in class Action
      See Also: