Lines Matching defs:length
129 // STB_TEXTEDIT_STRINGLEN(obj) the length of the string (ideally O(1))
502 static void stb_text_makeundo_delete(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int length);
503 static void stb_text_makeundo_insert(STB_TexteditState *state, int where, int length);
510 int first_char, length; // first char of row, and length
530 find->length = z;
543 find->length = 0;
562 find->length = r.num_chars;
879 if (find.length) {
882 int start = find.first_char + find.length;
1313 static void stb_text_makeundo_insert(STB_TexteditState *state, int where, int length)
1315 stb_text_createundo(&state->undostate, where, 0, length);
1318 static void stb_text_makeundo_delete(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int length)
1321 STB_TEXTEDIT_CHARTYPE *p = stb_text_createundo(&state->undostate, where, length, 0);
1323 for (i=0; i < length; ++i)