Searched refs:fGapIndex (Results 1 - 2 of 2) sorted by path

/haiku/src/kits/interface/textview_support/
H A DTextGapBuffer.cpp34 fGapIndex(fItemCount),
35 fGapCount(fBufferCount - fGapIndex),
61 if (inAtIndex != fGapIndex)
67 memcpy(fBuffer + fGapIndex, inText, inNumItems);
70 fGapIndex += inNumItems;
97 if (inAtIndex != fGapIndex)
104 if (file->ReadAt(fileOffset, fBuffer + fGapIndex, inNumItems) > 0) {
106 fGapIndex += inNumItems;
147 bool isStartBeforeGap = fromOffset < fGapIndex;
148 bool isEndBeforeGap = (fromOffset + numBytes - 1) < fGapIndex;
[all...]
H A DTextGapBuffer.h57 int32 fGapIndex; // gap position member in class:BPrivate::TextGapBuffer
81 return index < fGapIndex ? fBuffer[index] : fBuffer[index + fGapCount];

Completed in 54 milliseconds