public Position createBiasPosition(int offset, Position.Bias bias) throws BadLocationException { checkOffset(offset); BasePosition pos = new BasePosition(); // registerStack(pos); markVector.insert(markVector.createBiasMark(pos, offset, bias)); return pos; }
MultiMark createMark(int offset) throws BadLocationException { checkOffset(offset); return markVector.insert(markVector.createMark(offset)); }
MultiMark createBiasMark(int offset, Position.Bias bias) throws BadLocationException { checkOffset(offset); return markVector.insert(markVector.createBiasMark(offset, bias)); }