org.eclipse.jface.text
public interface IMarkSelection extends ISelection
This interface is not intended to be implemented by clients other than
ITextViewer implementers.
| Modifier and Type | Method and Description |
|---|---|
IDocument |
getDocument()
Returns the marked document.
|
int |
getLength()
Returns the length of the mark selection.
|
int |
getOffset()
Returns the mark position.
|
isEmptyIDocument getDocument()
int getOffset()
-1 if there's no marked region.-1 if there is no marked regionint getLength()
getOffset()
returns -1.getOffset == -1Guidelines for using Eclipse APIs. Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.