Skip to content

Random characters being deleted when switching between files #2221

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

Closed
piecesofuk opened this issue May 28, 2023 · 1 comment · Fixed by #3091
Closed

Random characters being deleted when switching between files #2221

piecesofuk opened this issue May 28, 2023 · 1 comment · Fixed by #3091

Comments

@piecesofuk
Copy link

p5.js version

1.6.0

What is your operating system?

Other (specify if possible)

Web browser and version

Chrome Version 113.0.5672.134 (Official Build) (64-bit)

Actual Behavior

I'm editing on a Chromebook, os version as above.

I've noticed this has been happening for a while but wasn't sure if it was just random: when I was switching between files it seemed as if characters were being deleted at random.

Expected Behavior

Characters should not be randomly disappearing

Steps to reproduce

The following steps appear to reproduce this behaviour:

  1. create a new sketch
  2. open index.html
  3. make an edit that generates an error, for example I've add a < at the start of line 1
    Screenshot 2023-05-28 06 42 03
  4. move to sketch.js
  5. place the cursor at the end of the file
  6. note the first five characters of line 5 are underlined
    Screenshot 2023-05-27 21 34 06
  7. hit return to create a new line
  8. those five characters are deleted
    Screenshot 2023-05-27 21 34 38
@praveen-rikhari
Copy link

@piecesofuk is this issue still opened?
If Yes, can i work on this.

Chaitanya1672 pushed a commit to Chaitanya1672/p5.js-web-editor that referenced this issue Apr 21, 2024
Chaitanya1672 added a commit to Chaitanya1672/p5.js-web-editor that referenced this issue Apr 24, 2024
Chaitanya1672 added a commit to Chaitanya1672/p5.js-web-editor that referenced this issue Apr 25, 2024
Chaitanya1672 added a commit to Chaitanya1672/p5.js-web-editor that referenced this issue Apr 27, 2024
Chaitanya1672 added a commit to Chaitanya1672/p5.js-web-editor that referenced this issue Apr 27, 2024
Chaitanya1672 added a commit to Chaitanya1672/p5.js-web-editor that referenced this issue Apr 27, 2024
Chaitanya1672 added a commit to Chaitanya1672/p5.js-web-editor that referenced this issue Apr 28, 2024
raclim added a commit to Chaitanya1672/p5.js-web-editor that referenced this issue May 31, 2024
raclim added a commit to Chaitanya1672/p5.js-web-editor that referenced this issue Jun 5, 2024
raclim added a commit that referenced this issue Jun 5, 2024
…ter-getting-deleted

fixes #2221 characters getting deleted between file changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants