Searched refs:startPos (Results 1 - 8 of 8) sorted by relevance

/xsrc/external/mit/xmh/dist/
H A Dmsg.c127 XawTextPosition startPos, lastPos, nextPos; local in function:RedisplayMsg
133 startPos = 0;
137 while (startPos < lastPos) {
138 nextPos = startPos;
152 startPos = XawTextSourceScan(msg->source, startPos,
155 if (startPos >= lastPos) startPos = 0;
157 XawTextSetSource(scrn->viewwidget, msg->source, startPos);
158 if (msg->startPos >
723 static XawTextPosition startPos; local in function:MsgLoadComposition
[all...]
H A Dtocintrnl.h54 XawTextPosition startPos; /* Where to start the insertion point. */ member in struct:_MsgRec
H A Dtsource.c190 XawTextPosition startPos,
199 if (block->length != endPos - startPos)
201 msg = MsgFromPosition(toc, startPos, XawsdRight);
203 msg->buf[startPos - msg->position + i] = block->ptr[i];
205 XawTextInvalidate(toc->widgets[i], startPos, endPos);
188 Replace(Widget w,XawTextPosition startPos,XawTextPosition endPos,XawTextBlock * block) argument
/xsrc/external/mit/libXaw/dist/src/
H A DAsciiSrc.c433 * startPos - ends of text that will be replaced
435 * text - new text to be inserted into buffer at startPos
445 ReplaceText(Widget w, XawTextPosition startPos, XawTextPosition endPos, argument
459 if ((start_piece = FindPiece(src, startPos, &start_first)) == NULL)
478 if (startPos < ctx->text.lt.info[line + 1].position)
481 startPos > ctx->text.lt.info[i].position) {
488 if (XawTextSourceAnchorAndEntity(w, startPos, &anchor, &entity) &&
499 (start_piece->text + (startPos - start_first));
513 _XawTextNeedsUpdating(ctx, startPos - 1, startPos);
[all...]
H A DMultiSrc.c349 * startPos - ends of text that will be removed
351 * text - new text to be inserted into buffer at startPos
361 ReplaceText(Widget w, XawTextPosition startPos, XawTextPosition endPos, argument
411 if ((start_piece = FindPiece(src, startPos, &start_first)) == NULL)
422 if (((start_piece->used = startPos - start_first) == 0)
436 if ((start_piece->used -= endPos - startPos) == 0) {
441 memmove(start_piece->text + (startPos - start_first),
443 (size_t)(start_piece->used - (startPos - start_first)) *
446 ((src->multi_src.length - (endPos - startPos))
448 start_piece->text[src->multi_src.length - (endPos - startPos)]
[all...]
H A DTextAction.c3530 XawTextPosition startPos, endPos, eop_begin, eop_end; local in function:StripOutOldCRs
3551 eop_begin = eop_end = startPos = from;
3557 endPos = SrcScan(src, startPos, XawstEOL, XawsdRight, 1, False);
3562 if (temp > startPos)
3569 startPos = eop_end;
3570 eop_begin=SrcScan(src, startPos, XawstParagraph,
3572 eop_end = SrcScan(src, startPos, XawstParagraph,
3610 startPos = SrcScan(src, periodPos, XawstPositions,
3612 if (_XawTextReplace(ctx, endPos, startPos, &text) != XawEditDone)
3617 if (startPos < po
3639 XawTextPosition startPos; local in function:InsertNewCRs
[all...]
H A DText.c3883 XawTextPosition top, XawTextPosition startPos)
3896 if (source != ctx->text.source || ctx->text.insertPos != startPos)
3905 startPos = FindGoodPosition(ctx, startPos);
3906 ctx->text.insertPos = ctx->text.old_insert = startPos;
3925 * This public routine deletes the text from startPos to endPos in a source and
3926 * then inserts, at startPos, the text that was passed. As a side effect it
3931 XawTextReplace(Widget w, XawTextPosition startPos, XawTextPosition endPos, argument
3947 startPos = FindGoodPosition(ctx, startPos);
3882 _XawTextSetSource(Widget w,Widget source,XawTextPosition top,XawTextPosition startPos) argument
[all...]
H A DTextSrc.c428 * startPos - ends of text that will be removed
430 * text - new text to be inserted into buffer at startPos
437 Replace(Widget w _X_UNUSED, XawTextPosition startPos _X_UNUSED, XawTextPosition endPos _X_UNUSED,
715 * startPos - ends of text that will be removed
717 * text - new text to be inserted into buffer at startPos

Completed in 24 milliseconds