public interface ITextEditorExtension6
ITextEditor. Adds the following
functions:
This interface may be implemented by clients.
| Modifier and Type | Method and Description |
|---|---|
boolean |
isWordWrapEnabled()
Returns
true if word wrap is currently enabled, false otherwise. |
void |
setWordWrap(boolean enable)
Sets whether the text editor wraps lines.
|
boolean isWordWrapEnabled()
true if word wrap is currently enabled, false otherwise.void setWordWrap(boolean enable)
Note: enabling word wrap disables block selection mode (see ITextEditorExtension5),
enabling block selection mode will disable word wrap.
enable - true to enable word wrap, false to turn it off.ITextEditorExtension5.setBlockSelectionMode(boolean)
Copyright (c) 2000, 2016 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.