Lines Matching refs:textindex
239 XawTextPosition textindex;
247 textindex = position;
248 if (textindex + doff < 0) return 0;
249 if (dir == XawsdRight && textindex >= toc->lastPos) return toc->lastPos;
250 msg = MsgFromPosition(toc, textindex, dir);
255 textindex = CoerceToLegalPosition(toc, textindex + count * ddir);
260 while (textindex >= 0 && textindex <= toc->lastPos) {
261 Look(textindex, c);
263 if (whiteSpace < 0) whiteSpace = textindex;
266 textindex += ddir;
272 textindex = whiteSpace;
274 textindex = CoerceToLegalPosition(toc, textindex);
279 while (textindex >= 0 && textindex <= toc->lastPos) {
280 Look(textindex, c);
283 textindex += ddir;
286 textindex += ddir;
289 textindex += ddir;
290 textindex = CoerceToLegalPosition(toc, textindex);
294 textindex = 0;
296 textindex = toc->lastPos;
301 return textindex;