Lines Matching defs:startOffset
30 HyperTextAction::MouseOver(HyperTextView* view, BPoint where, int32 startOffset,
39 view->SetFontAndColor(startOffset, endOffset, &font, B_FONT_FACE);
44 HyperTextAction::MouseAway(HyperTextView* view, BPoint where, int32 startOffset,
53 view->SetFontAndColor(startOffset, endOffset, &font, B_FONT_FACE);
67 ActionInfo(int32 startOffset, int32 endOffset, HyperTextAction* action)
69 startOffset(startOffset),
82 return a->startOffset - b->startOffset;
88 if (a->startOffset < b->endOffset && b->startOffset < a->endOffset)
90 return a->startOffset - b->startOffset;
93 int32 startOffset;
170 action->MouseAway(this, where, fLastActionInfo->startOffset,
179 action->MouseOver(this, where, actionInfo->startOffset,
198 HyperTextView::AddHyperTextAction(int32 startOffset, int32 endOffset,
201 if (action == NULL || startOffset >= endOffset) {
206 fActionInfos->BinaryInsert(new ActionInfo(startOffset, endOffset, action),
217 int32 startOffset = TextLength();
221 AddHyperTextAction(startOffset, endOffset, action);
229 int32 startOffset = TextLength();
233 AddHyperTextAction(startOffset, endOffset, action);
258 GetTextRegion(action->startOffset, action->endOffset, &textRegion);