System.out.println("start " + startOffsetInLine + ", end " + endOffsetInLine);
RubyPlugin.log("start " + startOffsetInLine + ", end " + endOffsetInLine);
    private void addToErrorList(int type, SourcePosition position, DefaultErrorSource errorSource, String message) {        int line = position == null ? 0 : position.getLine() - 1;        int startOffset = RubyPlugin.getStartOffset(line);        int nonSpaceStartOffset = RubyPlugin.getNonSpaceStartOffset(line);        int endOffset = RubyPlugin.getEndOffset(line);        int startOffsetInLine = nonSpaceStartOffset - startOffset;        int endOffsetInLine = endOffset - startOffset;        System.out.println("start " + startOffsetInLine + ", end " + endOffsetInLine);        errorSource.addError(type, position.getFile(), line, startOffsetInLine, endOffsetInLine, message);    }