Lines Matching +defs:from +defs:end

24  * dealings in this Software without prior written authorization from the
86 XawTextPosition from, to, start, end, first, last;
409 XawTextPosition from, to, first, last, position, length, redisplay;
504 if (s_start != einfo.start || s_end != einfo.end)
507 from = einfo.from;
727 from = first;
730 from = LSCAN(last, 1, False);
734 from = LSCAN(position, -lfinc + 1, False);
736 from = RSCAN(position, lfinc + 1, False);
737 from = LSCAN(from, 1, False);
741 from = RSCAN(first, lfrom, False);
742 from = LSCAN(from, 1, False);
747 XawTextSetInsertionPoint(w, from);
787 if (from >= to)
791 first = from;
833 einfo.from = last;
873 from = position;
875 * changing lines, so remember from where started, to also
877 if (LSCAN(from, 1, False) == from) {
879 einfo.from = from;
884 to = RSCAN(from, 1, True);
891 einfo.from = from;
907 /* Restore state from previous call */
919 from = einfo.from = einfo.end;
925 position = from;
926 length = to - from;
932 einfo.line = XtRealloc(einfo.line, to - from);
933 einfo.lsize = to - from;
949 einfo.mats[0].rm_eo = to - from;
952 if (to != from) {
953 if (to < last || (to > from && line[einfo.mats[0].rm_eo - 1] == '\n'))
965 einfo.end = from + einfo.mats[0].rm_eo;
966 einfo.start = from + einfo.mats[0].rm_so;
967 XawTextSetInsertionPoint(w, einfo.end);
968 XawTextSetSelection(w, einfo.start, einfo.end);
971 einfo.from = from;
985 from += einfo.mats[0].rm_so;
993 from += len;
1044 if (XawTextReplace(w, from, from + len, &block) != XawEditDone)
1048 from += length;
1053 to = RSCAN(from, 1, True);
1054 from = LSCAN(to, 1, False);
1056 XawTextSetInsertionPoint(w, from);
1064 XawTextSetInsertionPoint(w, from + len);
1065 XawTextSetSelection(w, from, from + len);
1074 from = LSCAN(to - 1, 1 + (from != to), False);
1075 if (einfo.from <= first) {
1082 from = LSCAN(last, 1, False);
1084 to = RSCAN(from, 1, True);
1085 /* Can use einfo.from because replace is only done forward */
1086 einfo.from = from;
1100 from = LSCAN(to + 1, 1, False);
1101 to = RSCAN(from, 1, True);