|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.text.AbstractLineTracker
org.eclipse.jface.text.DefaultLineTracker
public class DefaultLineTracker
Standard implementation of ILineTracker.
The line tracker considers the three common line delimiters which are '\n', '\r', '\r\n'.
This class is not intended to be subclassed.
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class org.eclipse.jface.text.AbstractLineTracker |
|---|
AbstractLineTracker.DelimiterInfo, AbstractLineTracker.Request |
| Field Summary | |
|---|---|
static java.lang.String[] |
DELIMITERS
The predefined delimiters of this tracker |
| Constructor Summary | |
|---|---|
DefaultLineTracker()
Creates a standard line tracker. |
|
| Method Summary | |
|---|---|
java.lang.String[] |
getLegalLineDelimiters()
Returns the strings this tracker considers as legal line delimiters. |
protected AbstractLineTracker.DelimiterInfo |
nextDelimiterInfo(java.lang.String text,
int offset)
Returns the information about the first delimiter found in the given text starting at the given offset. |
| Methods inherited from class org.eclipse.jface.text.AbstractLineTracker |
|---|
checkRewriteSession, computeNumberOfLines, flushRewriteSession, getLineDelimiter, getLineInformation, getLineInformationOfOffset, getLineLength, getLineNumberOfOffset, getLineOffset, getNumberOfLines, getNumberOfLines, hasActiveRewriteSession, replace, set, startRewriteSession, stopRewriteSession |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final java.lang.String[] DELIMITERS
| Constructor Detail |
|---|
public DefaultLineTracker()
| Method Detail |
|---|
public java.lang.String[] getLegalLineDelimiters()
ILineTracker
protected AbstractLineTracker.DelimiterInfo nextDelimiterInfo(java.lang.String text,
int offset)
AbstractLineTracker
nextDelimiterInfo in class AbstractLineTrackertext - the text to be searchedoffset - the offset in the given text
null
|
Eclipse Platform Release 3.6 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.