Lines Matching refs:start

56 			// not a proper multibyte start
60 // start of a multibyte character
163 int32 start = 0, end = fDataSize - 1;
175 start = offset - fOffset;
190 InvalidateRange(start, end);
194 if (start <= fEnd && end >= fStart) {
196 update.AddInt64("start", fStart);
253 int64 start, end;
254 if (message->FindInt64("start", &start) != B_OK
258 SetSelection(start, end);
502 DataView::SelectionFrame(view_focus which, int32 start, int32 end)
518 float startInLine = (start % kBlockSize) * width;
522 kVerticalSpace + (start / kBlockSize) * fFontHeight,
543 int32 start = fStart % kBlockSize;
550 BRect firstLine = SelectionFrame(which, first + start, end);
596 if (start == 0 || (!drawBlock && !drawLastLine))
619 if (start && (drawLastLine || drawBlock)) {
655 int32 start = blockStart % kBlockSize;
662 FillRect(SelectionFrame(which, first + start, end));
706 DataView::SetSelection(int32 start, int32 end, view_focus focus)
710 if (start > end) {
711 int32 temp = start;
712 start = end;
716 if (start > (int32)fSizeInView - 1)
717 start = (int32)fSizeInView - 1;
718 if (start < 0)
719 start = 0;
726 if (fStart == start && fEnd == end) {
732 if (fStart != start) {
734 update.AddInt64("position", start);
739 update.AddInt64("start", start);
753 if (start > fStart) {
755 DrawSelectionBlock(fFocus, fStart, start - 1);
756 } else if (start < fStart) {
758 DrawSelectionBlock(fFocus, start, fStart - 1);
772 fStart = start;
782 DataView::GetSelection(int32 &start, int32 &end)
784 start = fStart;
790 DataView::InvalidateRange(int32 start, int32 end)
792 if (start <= 0 && end >= int32(fDataSize) - 1) {
797 int32 startLine = start / kBlockSize;
801 start = startLine * kBlockSize;
806 BRect rect = SelectionFrame(fFocus, start, end);
812 rect = SelectionFrame(fFocus == kHexFocus ? kAsciiFocus : kHexFocus, start, end);
861 DataView::DataAt(int32 start)
863 if (start < 0 || start >= int32(fSizeInView) || fData == NULL)
866 return fData + start;
1032 // only spans a rectangle between the start and the end point, so
1123 int32 start = PositionAt(kNoFocus, where, &newFocus);
1124 int32 end = start + fDragMessageSize - 1;
1126 SetSelection(start, end);
1127 MakeVisible(start);
1208 int32 start, end;
1211 start = fEnd - int32(kBlockSize);
1214 start = fStart - int32(kBlockSize);
1217 if (start < 0)
1218 start = 0;
1220 start = fStart - int32(kBlockSize);
1221 if (start < 0)
1222 start = fStart;
1224 end = start;
1227 SetSelection(start, end);
1228 MakeVisible(start);
1233 int32 start, end;
1236 start = fEnd;
1239 start = fStart;
1247 start = fEnd;
1249 start = end;
1252 SetSelection(start, end);