increpare / increpare/PuzzleScript

Syntax highlighting can sometimes skip regions in large projects

Open
#947 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
1.1k
Forks
185
PR merge metrics
No merged PRs in 30d

Description

If you open a large PuzzleScript project (~1000 lines or more) in the editor, then if you scroll quickly (e.g. by dragging the scroll bar), then you can run into cases where the syntax highlighting does not work correctly for a region of code. This can also cause you to be unable to do some things, like Ctrl+Clicking levels.

I originally noted this on my PS fork, as projects there usually cover more lines than a normal PuzzleScript project. However, this can be reproduced in the PuzzleScript editor as well.

Screenshot_10
108115055-e2a98600-7099-11eb-8a12-a2feadd70e87

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Reproduce the issue in the PuzzleScript editor with a project of about 1,000 lines or more, then drag the scrollbar quickly. Compare syntax highlighting across the skipped region and check whether Ctrl+Clicking levels fails there. Done means large projects retain correct highlighting and level navigation after rapid scrolling.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.