Searched refs:startPos (Results 1 - 11 of 11) 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.
176 * text - new text to be inserted into buffer at startPos.
182 Replace (w, startPos, endPos, text)
184 XawTextPosition startPos, endPos;
311 * startPos, endPos - ends of text that will be removed.
312 * text - new text to be inserted into buffer at startPos.
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.
254 * text - new text to be inserted into buffer at startPos.
260 ReplaceText (w, startPos, endPos, text)
262 XawTextPosition startPos, endPos;
277 start_piece = FindPiece(src, startPos, &start_first);
295 if ( ((start_piece->used = startPos - start_first) == 0) &&
309 if ( (start_piece->used -= endPos - startPos) == 0) {
314 MyStrncpy(start_piece->text + (startPos - start_first),
316 (int) (start_piece->used - (startPos - start_first)) );
318 ((src->ascii_src.length - (endPos - startPos)) <
[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);
1167 if (temp > startPos)
1174 startPos = eop_end;
1175 eop_begin = SrcScan(src, startPos, XawstParagraph, XawsdRight, 1, FALSE);
1176 eop_end = SrcScan(src, startPos, XawstParagraph, XawsdRight, 1, TRUE);
1204 startPos = SrcScan(src, periodPos, XawstPositions, XawsdRight, i, TRUE);
1205 _XawTextReplace(ctx, endPos, startPos, &text);
1206 startPos
1224 XawTextPosition startPos, endPos, space, eol; local
[all...]
H A DXaw3_1Text.c1727 XawTextPosition startPos, endPos; local
1735 for ( startPos = pos1, i = line; IsValidLine(ctx, i) &&
1750 if ( (endPos > startPos) ) {
1756 if ( (startPos >= ctx->text.s.right) || (endPos <= ctx->text.s.left) )
1757 XawTextSinkDisplayText(ctx->text.sink, x, y, startPos, endPos, FALSE);
1758 else if ((startPos >= ctx->text.s.left) && (endPos <= ctx->text.s.right))
1759 XawTextSinkDisplayText(ctx->text.sink, x, y, startPos, endPos, TRUE);
1761 DisplayText(w, startPos, ctx->text.s.left);
1762 DisplayText(w, Max(startPos, ctx->text.s.left),
1767 startPos
[all...]
/solaris-x11-s11/open-src/lib/DPS/sun-src/include/DPS/
H A DdpsXpreview.h46 long startPos; member in struct:__anon229
100 included file and to identify any embedded files. The startPos
106 startPos will be modified to be the first character after the complete
/solaris-x11-s11/open-src/lib/libXaw5/sun-src/
H A DAsciiSrc.c264 * startPos, endPos - ends of text that will be removed.
265 * text - new text to be inserted into buffer at startPos.
271 ReplaceText (w, startPos, endPos, text)
273 XawTextPosition startPos, endPos;
288 start_piece = FindPiece(src, startPos, &start_first);
304 if ( ((start_piece->used = startPos - start_first) == 0) &&
318 if ( (start_piece->used -= endPos - startPos) == 0) {
323 MyStrncpy(start_piece->text + (startPos - start_first),
325 (int) (start_piece->used - (startPos - start_first)) );
327 ((src->ascii_src.length - (endPos - startPos)) <
[all...]
H A DMultiSrc.c276 * startPos, endPos - ends of text that will be removed.
277 * text - new text to be inserted into buffer at startPos.
283 ReplaceText( w, startPos, endPos, u_text_p)
285 XawTextPosition startPos, endPos;
333 start_piece = FindPiece(src, startPos, &start_first);
344 if ( ((start_piece->used = startPos - start_first) == 0) &&
358 if ( (start_piece->used -= endPos - startPos) == 0) {
363 MyWStrncpy(start_piece->text + (startPos - start_first),
365 (int) (start_piece->used - (startPos - start_first)) );
367 ((src->multi_src.length - (endPos - startPos)) <
[all...]
H A DTextSrc.c188 * startPos, endPos - ends of text that will be removed.
189 * text - new text to be inserted into buffer at startPos.
195 Replace (w, startPos, endPos, text)
197 XawTextPosition startPos, endPos;
380 * startPos, endPos - ends of text that will be removed.
381 * text - new text to be inserted into buffer at startPos.
388 XawTextSourceReplace (Widget w, XawTextPosition startPos, argument
391 XawTextSourceReplace (w, startPos, endPos, text)
393 XawTextPosition startPos, endPos;
404 return((*class->textSrc_class.Replace)(w, startPos, endPo
[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);
1874 if (temp > startPos)
1881 startPos = eop_end;
1882 eop_begin=SrcScan(src, startPos, XawstParagraph, XawsdRight, 1,FALSE);
1883 eop_end = SrcScan(src, startPos, XawstParagraph, XawsdRight, 1, TRUE);
1920 startPos = SrcScan(src, periodPos, XawstPositions, XawsdRight, i, TRUE);
1921 if (_XawTextReplace(ctx, endPos, startPos, &text) != XawEditDone)
1923 startPos
1939 XawTextPosition startPos, endPos, space, eol; local
[all...]
H A DText.c2058 XawTextPosition startPos, endPos; local
2066 for ( startPos = pos1, i = line; IsValidLine(ctx, i) &&
2081 if ( (endPos > startPos) ) {
2087 if ( (startPos >= ctx->text.s.right) || (endPos <= ctx->text.s.left) )
2088 XawTextSinkDisplayText(ctx->text.sink, x, y, startPos, endPos, FALSE);
2089 else if ((startPos >= ctx->text.s.left) && (endPos <= ctx->text.s.right))
2090 XawTextSinkDisplayText(ctx->text.sink, x, y, startPos, endPos, TRUE);
2092 DisplayText(w, startPos, ctx->text.s.left);
2093 DisplayText(w, Max(startPos, ctx->text.s.left),
2098 startPos
3207 XawTextSetSource(Widget w, Widget source, XawTextPosition startPos) argument
3235 XawTextReplace(Widget w, XawTextPosition startPos, XawTextPosition endPos, XawTextBlock *text) argument
[all...]
/solaris-x11-s11/open-src/lib/DPS/sun-src/libdpstk/
H A DXDPSpreview.c120 if (fseek(f, p->startPos, SEEK_SET) != 0) {
134 if (imaging) p->startPos = -1;
158 if (imaging) p->startPos = ftell(f);

Completed in 41 milliseconds