Searched refs:endPos (Results 1 - 9 of 9) sorted by relevance

/solaris-x11-s11/open-src/lib/libXaw4/sun-src/
H A DXaw3_1TextSrc.c175 * startPos, endPos - ends of text that will be removed.
182 Replace (w, startPos, endPos, text)
184 XawTextPosition startPos, endPos;
311 * startPos, endPos - ends of text that will be removed.
318 XawTextSourceReplace (w, startPos, endPos, text)
320 XawTextPosition startPos, endPos;
325 return((*class->textSrc_class.Replace)(w, startPos, endPos, text));
H A DXaw3_1AsciiSrc.c253 * startPos, endPos - ends of text that will be removed.
260 ReplaceText (w, startPos, endPos, text)
262 XawTextPosition startPos, endPos;
278 end_piece = FindPiece(src, endPos, &end_first);
303 end_piece->used -= endPos - end_first;
305 MyStrncpy(end_piece->text, (end_piece->text + endPos - end_first),
309 if ( (start_piece->used -= endPos - startPos) == 0) {
315 start_piece->text + (endPos - start_first),
318 ((src->ascii_src.length - (endPos - startPos)) <
320 start_piece->text[src->ascii_src.length - (endPos
[all...]
H A DXaw3_1TextAction.c1148 XawTextPosition startPos, endPos, eop_begin, eop_end, temp; local
1161 eop_begin = eop_end = startPos = endPos = from;
1163 endPos=SrcScan(src, startPos, XawstEOL, XawsdRight, 1, FALSE);
1165 temp=SrcScan(src, endPos, XawstWhiteSpace, XawsdLeft, 1, FALSE);
1168 endPos = temp;
1170 if (endPos >= to)
1173 if (endPos >= eop_begin) {
1182 periodPos= SrcScan(src, endPos, XawstPositions, XawsdLeft, 1, TRUE);
1183 next_word = SrcScan(src, endPos, XawstWhiteSpace, XawsdRight, 1, FALSE);
1189 if ( (periodPos < endPos)
1224 XawTextPosition startPos, endPos, space, eol; local
[all...]
H A DXaw3_1Text.c804 XawTextPosition linePos, endPos; local
817 *x, pos, &realW, &endPos, &realH);
871 XawTextPosition endPos; local
891 &endPos, &realW, &realH);
896 endPos = SrcScan(src, position, XawstEOL, XawsdRight, 1, TRUE);
898 if ( endPos == ctx->text.lastPos) { /* We have reached the end. */
899 if(SrcScan(src, position, XawstEOL, XawsdRight, 1, FALSE) == endPos)
906 ((lt->position == (position = endPos)) && (position > min_pos)) )
938 return(endPos);
1727 XawTextPosition startPos, endPos; local
[all...]
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DTextSrc.c188 * startPos, endPos - ends of text that will be removed.
195 Replace (w, startPos, endPos, text)
197 XawTextPosition startPos, endPos;
380 * startPos, endPos - ends of text that will be removed.
389 XawTextPosition endPos, XawTextBlock *text)
391 XawTextSourceReplace (w, startPos, endPos, text)
393 XawTextPosition startPos, endPos;
404 return((*class->textSrc_class.Replace)(w, startPos, endPos, text));
388 XawTextSourceReplace(Widget w, XawTextPosition startPos, XawTextPosition endPos, XawTextBlock *text) argument
H A DAsciiSrc.c264 * startPos, endPos - ends of text that will be removed.
271 ReplaceText (w, startPos, endPos, text)
273 XawTextPosition startPos, endPos;
289 end_piece = FindPiece(src, endPos, &end_first);
312 end_piece->used -= endPos - end_first;
314 MyStrncpy(end_piece->text, (end_piece->text + endPos - end_first),
318 if ( (start_piece->used -= endPos - startPos) == 0) {
324 start_piece->text + (endPos - start_first),
327 ((src->ascii_src.length - (endPos - startPos)) <
329 start_piece->text[src->ascii_src.length - (endPos
[all...]
H A DMultiSrc.c276 * startPos, endPos - ends of text that will be removed.
283 ReplaceText( w, startPos, endPos, u_text_p)
285 XawTextPosition startPos, endPos;
334 end_piece = FindPiece(src, endPos, &end_first);
352 end_piece->used -= endPos - end_first;
354 MyWStrncpy(end_piece->text, (end_piece->text + endPos - end_first),
358 if ( (start_piece->used -= endPos - startPos) == 0) {
364 start_piece->text + (endPos - start_first),
367 ((src->multi_src.length - (endPos - startPos)) <
369 start_piece->text[src->multi_src.length - (endPos
[all...]
H A DText.c888 XawTextPosition linePos, endPos; local
901 *x, pos, &realW, &endPos, &realH);
962 XawTextPosition endPos; local
983 &endPos, &realW, &realH);
988 endPos = SrcScan(src, position, XawstEOL, XawsdRight, 1, TRUE);
990 if ( endPos == ctx->text.lastPos) { /* We have reached the end. */
991 if(SrcScan(src, position, XawstEOL, XawsdRight, 1, FALSE) == endPos)
998 ((lt->position == (position = endPos)) && (position > min_pos)) )
1030 return(endPos);
2058 XawTextPosition startPos, endPos; local
3235 XawTextReplace(Widget w, XawTextPosition startPos, XawTextPosition endPos, XawTextBlock *text) argument
[all...]
H A DTextAction.c1845 XawTextPosition startPos, endPos, eop_begin, eop_end, temp; local
1866 eop_begin = eop_end = startPos = endPos = from;
1869 endPos=SrcScan(src, startPos, XawstEOL, XawsdRight, 1, FALSE);
1871 temp = SrcScan(src, endPos, XawstWhiteSpace, XawsdLeft, 1, FALSE);
1875 endPos = temp;
1877 if (endPos >= to)
1880 if (endPos >= eop_begin) {
1889 periodPos= SrcScan(src, endPos, XawstPositions, XawsdLeft, 1, TRUE);
1890 next_word = SrcScan(src, endPos, XawstWhiteSpace, XawsdRight, 1, FALSE);
1897 if ( (periodPos < endPos)
1939 XawTextPosition startPos, endPos, space, eol; local
[all...]

Completed in 627 milliseconds