|
Mylyn WikiText version 3.4.0.v20100608-0100 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mylyn.wikitext.core.util.LocatorImpl
public class LocatorImpl
| Constructor Summary | |
|---|---|
LocatorImpl(Locator other)
|
|
| Method Summary | |
|---|---|
int |
getDocumentOffset()
get the 0-based character offset of the current character from the start of the document. |
int |
getLineCharacterOffset()
get the 0-based offset of the current character in the current line |
int |
getLineDocumentOffset()
get the 0-based character offset of the current line from the start of the document |
int |
getLineLength()
get the length of the current line in characters, not including the line terminator |
int |
getLineNumber()
get the 1-based number of the current line. |
int |
getLineSegmentEndOffset()
Get the 0-based offset of the end of the current line segment being processed, exclusive. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LocatorImpl(Locator other)
| Method Detail |
|---|
public int getDocumentOffset()
LocatorgetLineDocumentOffset()+getLineCharacterOffset()
getDocumentOffset in interface Locatorpublic int getLineCharacterOffset()
Locator
getLineCharacterOffset in interface Locatorpublic int getLineDocumentOffset()
Locator
getLineDocumentOffset in interface Locatorpublic int getLineLength()
Locator
getLineLength in interface Locatorpublic int getLineNumber()
Locator
getLineNumber in interface Locatorpublic int getLineSegmentEndOffset()
LocatorLocator.getLineCharacterOffset() and ends on the character preceding this
offset, [s,e) where s is the start and e is the end.
getLineSegmentEndOffset in interface Locator
|
Mylyn WikiText version 3.4.0.v20100608-0100 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||