theodore-norvell / PLAAY

Senior Design Project PLAAY (Programming Language for Adults And Youth)
2 stars 0 forks source link

Keyboard node creation issue #90

Closed WNewhook closed 6 years ago

WNewhook commented 6 years ago

Nodes created with the keyboard that require a name (i.e. string literals, number literals, variables, etc) are correctly initialized with the value of the pressed key, but the open label's carat is positioned at the beginning of the string rather than the end. For example, typing 'xyz' should create a variable node named 'xyz', but will instead create a node containing 'yzx' unless the user manually repositions the carat after hitting 'x'.

theodore-norvell commented 6 years ago

Fixed and tested.