Package org.eclipse.ui.texteditor
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 TypeMethodDescriptionboolean
Returnstrue
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 tostate
.
-
Method Details
-
isBlockSelectionModeEnabled
boolean isBlockSelectionModeEnabled()Returnstrue
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 tostate
. 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:
-