Package | Description |
---|---|
org.eclipse.jface.text |
Provides a framework for creating and manipulating text documents.
|
org.eclipse.ui.texteditor |
Provides a framework for text editors obeying to the
desktop rules.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IBlockTextSelection
A rectangular selection in a text document.
|
Modifier and Type | Class and Description |
---|---|
class |
BlockTextSelection
Standard implementation of
IBlockTextSelection . |
class |
TextSelection
Standard implementation of
ITextSelection . |
Modifier and Type | Method and Description |
---|---|
static ITextSelection |
TextSelection.emptySelection()
Returns the shared instance of the empty text selection.
|
Modifier and Type | Method and Description |
---|---|
static IRegion[] |
JFaceTextUtil.getCoveredRanges(ITextViewer viewer,
ITextSelection selection)
Returns the text regions covered by the given selection in the given viewer.
|
static boolean |
JFaceTextUtil.isEmpty(ITextViewer viewer,
ITextSelection selection)
Returns
true if the text covered by selection does not contain any
characters in the given viewer. |
Modifier and Type | Method and Description |
---|---|
void |
TextViewerDeleteLineTarget.deleteLine(IDocument document,
ITextSelection selection,
int type,
boolean copyToClipboard)
Deletes the lines that intersect with the given
selection . |
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.