Interface ITextEditorExtension5

All Known Implementing Classes:
AbstractDecoratedTextEditor, AbstractTextEditor, StatusTextEditor, TextEditor

public interface ITextEditorExtension5
Extension interface for ITextEditor. Adds the following functions:
  • block selection mode

This interface may be implemented by clients.

Since:
3.5
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Returns true if the receiver is in block (aka column) selection mode, false otherwise.
    void
    setBlockSelectionMode(boolean state)
    Sets the block selection mode state of the receiver to state.
  • Method Details

    • isBlockSelectionModeEnabled

      boolean isBlockSelectionModeEnabled()
      Returns true if the receiver is in block (aka column) selection mode, false otherwise.
      Returns:
      the receiver's block selection state
    • setBlockSelectionMode

      void setBlockSelectionMode(boolean state)
      Sets the block selection mode state of the receiver to state. Nothing happens if the receiver already is in the requested state.

      Note: enabling block selection mode disables word wrap ITextEditorExtension6), enabling word wrap will disable block selection mode.

      Parameters:
      state - the new block selection state
      See Also: