Skip to content
Permalink
Browse files

stb_textedit: fix typo: STB_TEXTED_K_RIGHT

  • Loading branch information...
mastensg committed May 4, 2019
1 parent 1034f5e commit 6bde00651c05fb95f3d1880cd419fc127f233fbf
Showing with 1 addition and 1 deletion.
  1. +1 −1 stb_textedit.h
@@ -171,7 +171,7 @@
// Keyboard input must be encoded as a single integer value; e.g. a character code
// and some bitflags that represent shift states. to simplify the interface, SHIFT must
// be a bitflag, so we can test the shifted state of cursor movements to allow selection,
// i.e. (STB_TEXTED_K_RIGHT|STB_TEXTEDIT_K_SHIFT) should be shifted right-arrow.
// i.e. (STB_TEXTEDIT_K_RIGHT|STB_TEXTEDIT_K_SHIFT) should be shifted right-arrow.
//
// You can encode other things, such as CONTROL or ALT, in additional bits, and
// then test for their presence in e.g. STB_TEXTEDIT_K_WORDLEFT. For example,

0 comments on commit 6bde006

Please sign in to comment.
You can’t perform that action at this time.