Skip to content
Myr

stb_textedit: fix typo: STB_TEXTED_K_RIGHT

Before adoption: this commit came in with the history the project adopted, so no landing records it.

authored by Martin Stensgård · committed by Martin Stensgård · parent 1034f5e · Browse files · 1 file+1 added−1 removed
This commit

State

Before adoption: this commit came in with the history the project adopted, so no landing records it.

Diff stats

1 file+1 added−1 removed

  • other:+1 added−1 removed

1 file+1 added−1 removed

modified:stb_textedit.h+1 added-1 removed
169 unmodified lines
170//171// Keyboard input must be encoded as a single integer value; e.g. a character code172// and some bitflags that represent shift states. to simplify the interface, SHIFT must173// be a bitflag, so we can test the shifted state of cursor movements to allow selection,174// i.e. (STB_TEXTED_K_RIGHT|STB_TEXTEDIT_K_SHIFT) should be shifted right-arrow.174// i.e. (STB_TEXTEDIT_K_RIGHT|STB_TEXTEDIT_K_SHIFT) should be shifted right-arrow.175//176// You can encode other things, such as CONTROL or ALT, in additional bits, and177// then test for their presence in e.g. STB_TEXTEDIT_K_WORDLEFT. For example,178// my Windows implementations add an additional CONTROL bit, and an additional KEYDOWN
1226 unmodified lines