|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A mark selection. Can be returned by text viewers implementing the
IMarkRegionTarget
interface.
Method Summary | |
IDocument |
getDocument()
Returns the marked document. |
int |
getLength()
Returns the length of the mark selection. |
int |
getOffset()
Returns the mark position. |
Methods inherited from interface org.eclipse.jface.viewers.ISelection |
isEmpty |
Method Detail |
public IDocument getDocument()
public int getOffset()
-1
if there's no marked region.
-1
if there is no marked regionpublic int getLength()
getOffset()
returns -1
.
getOffset == -1
|
Eclipse Platform 2.0 |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |