Package org.eclipse.ui.texteditor
Interface ITextEditorExtension5
-
- All Known Implementing Classes:
AbstractDecoratedTextEditor,AbstractTextEditor,StatusTextEditor,TextEditor
public interface ITextEditorExtension5Extension interface forITextEditor. Adds the following functions:- block selection mode
This interface may be implemented by clients.
- Since:
- 3.5
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanisBlockSelectionModeEnabled()Returnstrueif the receiver is in block (aka column) selection mode,falseotherwise.voidsetBlockSelectionMode(boolean state)Sets the block selection mode state of the receiver tostate.
-
-
-
Method Detail
-
isBlockSelectionModeEnabled
boolean isBlockSelectionModeEnabled()
Returnstrueif the receiver is in block (aka column) selection mode,falseotherwise.- 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:
ITextEditorExtension6.setWordWrap(boolean)
-
-