Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Socket gets erased after a typing correction #120

Open
davidbau opened this issue Aug 3, 2015 · 0 comments
Open

Socket gets erased after a typing correction #120

davidbau opened this issue Aug 3, 2015 · 0 comments

Comments

@davidbau
Copy link
Member

davidbau commented Aug 3, 2015

If you press "enter" in a socket that gets autocorrected in a specific situation, a different socket gets erased.

Repro: in pencil code

  1. Enter a call with a string and a second argument, e.g: write 'answer', atan 1
  2. Enter a mismatched quote string in the string socket: e.g.: write 'here's', atan 1 - don't click away
  3. Press enter from within the string socket.

Observe: the "1" in atan 1 is gone, replaced by a newline character.

We have blocks that are directly of this form await '?', defer x which invite this problem, so it's pretty visible.

image
image
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant