Lines Matching defs:pos
261 XawTextPosition start_pos, pos;
267 start_pos = pos = XawTextGetInsertionPoint(tw);
273 if (XawTextReplace(tw, pos, pos, &text) != XawEditDone) {
279 (void) XawTextReplace(tw, start_pos, pos, &text);
283 pos += text.length;
286 XawTextSetInsertionPoint(tw, pos);
778 XawTextPosition pos;
790 pos = XawTextSearch( tw, dir, &text);
792 if (pos == XawTextSearchError)
796 XawTextSetInsertionPoint( tw, pos + text.length);
798 XawTextSetInsertionPoint( tw, pos);
800 XawTextSetSelection( tw, pos, pos + text.length);
901 XawTextPosition pos, new_pos, end_pos;
936 pos = new_pos;
937 end_pos = pos + find.length;
940 XawTextGetSelectionPos(tw, &pos, &end_pos);
947 if (pos == end_pos)
951 if (XawTextReplace(tw, pos, end_pos, &replace) != XawEditDone) {
960 XawTextSetInsertionPoint( tw, pos + replace.length);
962 XawTextSetInsertionPoint( tw, pos);
977 XawTextSetSelection( tw, pos, pos + replace.length);