Lines Matching defs:STB_TexteditState

78 //   single public symbol, STB_TexteditState, which encapsulates the current
94 // it grows STB_TexteditState by the worst-case storage which is (in bytes):
199 // "insert_mode" field of STB_TexteditState before/after calling API functions.
203 // void stb_textedit_initialize_state(STB_TexteditState *state, int is_single_line)
205 // void stb_textedit_click(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, float x, float y)
206 // void stb_textedit_drag(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, float x, float y)
207 // int stb_textedit_cut(STB_TEXTEDIT_STRING *str, STB_TexteditState *state)
208 // int stb_textedit_paste(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, STB_TEXTEDIT_CHARTYPE *text, int len)
209 // void stb_textedit_key(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, STB_TEXEDIT_KEYTYPE key)
248 // the STB_TexteditState.
281 // STB_TexteditState
283 // Definition of STB_TexteditState which you should store
351 } STB_TexteditState;
456 static void stb_textedit_click(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, float x, float y)
474 static void stb_textedit_drag(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, float x, float y)
500 static void stb_text_undo(STB_TEXTEDIT_STRING *str, STB_TexteditState *state);
501 static void stb_text_redo(STB_TEXTEDIT_STRING *str, STB_TexteditState *state);
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);
504 static void stb_text_makeundo_replace(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int old_length, int new_length);
575 static void stb_textedit_clamp(STB_TEXTEDIT_STRING *str, STB_TexteditState *state)
589 static void stb_textedit_delete(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int len)
597 static void stb_textedit_delete_selection(STB_TEXTEDIT_STRING *str, STB_TexteditState *state)
613 static void stb_textedit_sortselection(STB_TexteditState *state)
623 static void stb_textedit_move_to_first(STB_TexteditState *state)
634 static void stb_textedit_move_to_last(STB_TEXTEDIT_STRING *str, STB_TexteditState *state)
685 static void stb_textedit_prep_selection_at_cursor(STB_TexteditState *state)
694 static int stb_textedit_cut(STB_TEXTEDIT_STRING *str, STB_TexteditState *state)
705 static int stb_textedit_paste_internal(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, STB_TEXTEDIT_CHARTYPE *text, int len)
728 static void stb_textedit_key(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, STB_TEXTEDIT_KEYTYPE key)
1194 static void stb_text_undo(STB_TEXTEDIT_STRING *str, STB_TexteditState *state)
1262 static void stb_text_redo(STB_TEXTEDIT_STRING *str, STB_TexteditState *state)
1313 static void stb_text_makeundo_insert(STB_TexteditState *state, int where, int length)
1318 static void stb_text_makeundo_delete(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int length)
1328 static void stb_text_makeundo_replace(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, int where, int old_length, int new_length)
1339 static void stb_textedit_clear_state(STB_TexteditState *state, int is_single_line)
1356 static void stb_textedit_initialize_state(STB_TexteditState *state, int is_single_line)
1366 static int stb_textedit_paste(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, STB_TEXTEDIT_CHARTYPE const *ctext, int len)