public class SelectInEditorManagerImpl extends SelectInEditorManager implements Disposable, java.awt.event.FocusListener, CaretListener
Disposable.Parent
Constructor and Description |
---|
SelectInEditorManagerImpl(Project project) |
Modifier and Type | Method and Description |
---|---|
void |
caretPositionChanged(CaretEvent e)
Called when the caret position has changed.
|
void |
dispose()
Usually not invoked directly, see class javadoc.
|
void |
focusGained(java.awt.event.FocusEvent e) |
void |
focusLost(java.awt.event.FocusEvent e) |
void |
selectInEditor(VirtualFile file,
int startOffset,
int endOffset,
boolean toSelectLine,
boolean toUseNormalSelection)
Do selection in Editor.
|
getInstance
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
caretAdded, caretRemoved
public SelectInEditorManagerImpl(Project project)
public void dispose()
Disposable
dispose
in interface Disposable
public void selectInEditor(VirtualFile file, int startOffset, int endOffset, boolean toSelectLine, boolean toUseNormalSelection)
SelectInEditorManager
selectInEditor
in class SelectInEditorManager
public void focusGained(java.awt.event.FocusEvent e)
focusGained
in interface java.awt.event.FocusListener
public void focusLost(java.awt.event.FocusEvent e)
focusLost
in interface java.awt.event.FocusListener
public void caretPositionChanged(CaretEvent e)
CaretListener
Only explicit caret movements (caused by 'move' methods in Caret
and CaretModel
) are reported, 'induced' changes of
caret offset due to document modifications are not reported.
caretPositionChanged
in interface CaretListener
e
- the event containing information about the caret movement.