public int getLineNum(int offset) {
return myDocument.getLineNumber(offset);
}
@NotNull
public List<String> getLines() {
<BUG>return getLines(0, myDocument.getLineCount() - 1);
</BUG>
}
@NotNull
public List<String> getLines(int from, int to) {

public int getLineNum(int offset) {
return myDocument.getLineNumber(offset);
}
@NotNull
public List<String> getLines() {
return getLines(0, getLineCount(myDocument) - 1);
}
@NotNull
public List<String> getLines(int from, int to) {
