public class Range extends Object
Modifier and Type | Field and Description |
---|---|
Document |
doc
the document this range points to
|
int |
high
the high line of this range.
|
int |
low
the low line of this range
|
Constructor and Description |
---|
Range(Document doc,
int low,
int high)
Creates a new range
|
Modifier and Type | Method and Description |
---|---|
int |
len()
Returns the length of this range
|
String |
toRangeString()
Returns a string suitable for inclusion in a diff output (line number is
incremented by one).
|
String |
toString()
Returns a debug string
|
public final Document doc
public final int low
public final int high
public Range(Document doc, int low, int high)
doc
- the documentlow
- the low linehigh
- the high linepublic int len()
public String toString()
public String toRangeString()
Copyright © 2010 - 2020 Adobe. All Rights Reserved