Lines Matching refs:beforeThis
152 Tk_Item *itemPtr, int beforeThis, char *string));
907 TextInsert(canvas, itemPtr, beforeThis, string)
910 int beforeThis; /* Index of character before which text is
923 if (beforeThis < 0) {
924 beforeThis = 0;
926 if (beforeThis > textPtr->numChars) {
927 beforeThis = textPtr->numChars;
931 strncpy(new, textPtr->text, (size_t) beforeThis);
932 strcpy(new+beforeThis, string);
933 strcpy(new+beforeThis+length, textPtr->text+beforeThis);
944 if (textInfoPtr->selectFirst >= beforeThis) {
947 if (textInfoPtr->selectLast >= beforeThis) {
951 && (textInfoPtr->selectAnchor >= beforeThis)) {
955 if (textPtr->insertPos >= beforeThis) {