Lines Matching refs:first
25 char *firstChar; /* Pointer to the first character in this
150 Tk_Item *itemPtr, int first, int last));
973 * Characters between "first" and "last", inclusive, get
981 TextDeleteChars(canvas, itemPtr, first, last)
984 int first; /* Index of first character to delete. */
992 if (first < 0) {
993 first = 0;
998 if (first > last) {
1001 count = last + 1 - first;
1004 strncpy(new, textPtr->text, (size_t) first);
1005 strcpy(new+first, textPtr->text+last+1);
1016 if (textInfoPtr->selectFirst > first) {
1018 if (textInfoPtr->selectFirst < first) {
1019 textInfoPtr->selectFirst = first;
1022 if (textInfoPtr->selectLast >= first) {
1024 if (textInfoPtr->selectLast < (first-1)) {
1025 textInfoPtr->selectLast = (first-1);
1032 && (textInfoPtr->selectAnchor > first)) {
1034 if (textInfoPtr->selectAnchor < first) {
1035 textInfoPtr->selectAnchor = first;
1039 if (textPtr->insertPos > first) {
1041 if (textPtr->insertPos < first) {
1042 textPtr->insertPos = first;
1333 if (strncmp(string, "sel.first", length) == 0) {
1450 int offset; /* Offset within selection of first