Lines Matching defs:text

10 // This C header file implements the guts of a multi-line text-editing
17 // their own custom widgets and which do not have heavy text-editing
21 // Non-trivial behaviors are modelled after Windows text controls.
79 // state of a text widget (except for the string, which you will store
103 // will compile the implementation of the text edit widget, depending
113 // in the displayed textedit. This is true for both plain text and
114 // rich text; even with rich text stb_truetype interacts with your
153 // STB_TEXTEDIT_K_TEXTSTART keyboard input to move cursor to start of text // e.g. ctrl-HOME
154 // STB_TEXTEDIT_K_TEXTEND keyboard input to move cursor to end of text // e.g. ctrl-END
170 // STB_TEXTEDIT_K_TEXTSTART2 secondary keyboard input to move cursor to start of text
171 // STB_TEXTEDIT_K_TEXTEND2 secondary keyboard input to move cursor to end of text
208 // int stb_textedit_paste(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, STB_TEXTEDIT_CHARTYPE *text, int len)
221 // be relative to the text widget, with (0,0) being the top left.
233 // call this to paste text at the current cursor point or over the current
257 // as possible. (For example, to locate the mouse pointer in the text, we
327 // position of the text cursor within the string
359 // the text in each row is.
423 // below all text, return 'after' last character
459 // goes off the top or bottom of the text
479 // goes off the top or bottom of the text
704 // API paste: replace existing selection with passed-in text
705 static int stb_textedit_paste_internal(STB_TEXTEDIT_STRING *str, STB_TexteditState *state, STB_TEXTEDIT_CHARTYPE *text, int len)
711 if (STB_TEXTEDIT_INSERTCHARS(str, state->cursor, text, len)) {