public interface ITextEditorExtension3
ITextEditor
. Adds
the following functions:
Modifier and Type | Interface and Description |
---|---|
static class |
ITextEditorExtension3.InsertMode
Constitutes entities to enumerate the editor insert modes.
|
Modifier and Type | Field and Description |
---|---|
static ITextEditorExtension3.InsertMode |
INSERT
Represents the non-smart insert mode.
|
static ITextEditorExtension3.InsertMode |
SMART_INSERT
Represents the smart insert mode.
|
Modifier and Type | Method and Description |
---|---|
ITextEditorExtension3.InsertMode |
getInsertMode()
Returns the current input mode of this editor.
|
boolean |
isChangeInformationShowing()
Returns the quick diff display state.
|
void |
setInsertMode(ITextEditorExtension3.InsertMode mode)
Sets the insert mode of this editor.
|
void |
showChangeInformation(boolean show)
Sets the display of quick diff information.
|
static final ITextEditorExtension3.InsertMode INSERT
static final ITextEditorExtension3.InsertMode SMART_INSERT
ITextEditorExtension3.InsertMode getInsertMode()
void setInsertMode(ITextEditorExtension3.InsertMode mode)
mode
- the new insert modeIllegalArgumentException
- if mode
is not a legal insert mode for this editorvoid showChangeInformation(boolean show)
show
- true
if quick diff information should be shown, false
otherwiseboolean isChangeInformationShowing()
true
if quick diff info is displayed, false
otherwise
Copyright (c) 2000, 2015 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.