Modifier and Type | Class and Description |
---|---|
protected static class |
Document.DelimiterInfo |
Modifier and Type | Field and Description |
---|---|
static String[] |
DELIMITERS |
Modifier and Type | Method and Description |
---|---|
String |
get() |
String |
get(int offset,
int length) |
char |
getChar(int pos) |
int |
getLength() |
String |
getLineDelimiter(int line) |
IRegion |
getLineInformation(int line) |
int |
getNumberOfLines() |
void |
replace(int offset,
int length,
String text) |
void |
setText(String text) |
public static final String[] DELIMITERS
public Document(String text)
public int getNumberOfLines()
getNumberOfLines
in interface IDocument
public IRegion getLineInformation(int line) throws BadLocationException
getLineInformation
in interface IDocument
BadLocationException
public String get(int offset, int length) throws BadLocationException
get
in interface IDocument
BadLocationException
public String getLineDelimiter(int line) throws BadLocationException
getLineDelimiter
in interface IDocument
BadLocationException
public void replace(int offset, int length, String text) throws BadLocationException
replace
in interface IDocument
BadLocationException
public void setText(String text)
Copyright © 2021 aQute SARL. All rights reserved.