return memberList.get(index - 1);
Member member = memberList.get(index - 1); if (member.getEndOffset() < currentMember.getEndOffset() || caretPosition == currentMember.getStartOffset()) { return member; } else { return currentMember; } } else if(currentMember.getStartOffset() < caretPosition) { return currentMember;
    public final Member getPreviousMember(int caretPosition) {        int index = getCurrentMemberIndex(caretPosition);        if (index > 0) {            return memberList.get(index - 1);        } else {            return null;        }    }