public final boolean isInside(final int line, final int column) { if (isEmpty()) { return false; } return line >= _beginLine && (line <= _endLine || _endLine == -1) && (line != _beginLine || column >= _beginColumn) && (line != _endLine || column <= _endColumn); }
public final boolean IsInside(final TextLocation location) { return isInside( location != null ? location.line() : TextLocation.EMPTY.line(), location != null ? location.column() : TextLocation.EMPTY.column() ); }
public Region getRegion() { return new Region(getStartLocation(), getEndLocation()); }
public final boolean IsInside(final TextLocation location) { return isInside( location != null ? location.line() : TextLocation.EMPTY.line(), location != null ? location.column() : TextLocation.EMPTY.column() ); }
public Region getRegion() { return new Region(getStartLocation(), getEndLocation()); }
public final boolean IsInside(final TextLocation location) { return isInside( location != null ? location.line() : TextLocation.EMPTY.line(), location != null ? location.column() : TextLocation.EMPTY.column() ); }
public final boolean isInside(final int line, final int column) { if (isEmpty()) { return false; } return line >= _beginLine && (line <= _endLine || _endLine == -1) && (line != _beginLine || column >= _beginColumn) && (line != _endLine || column <= _endColumn); }
public Region getRegion() { return new Region(getStartLocation(), getEndLocation()); }
public final boolean isInside(final int line, final int column) { if (isEmpty()) { return false; } return line >= _beginLine && (line <= _endLine || _endLine == -1) && (line != _beginLine || column >= _beginColumn) && (line != _endLine || column <= _endColumn); }