Khan / Khan/live-editor

Autocomplete argument highlighting gets confused by commas inside text()

Open
#383 0 comments 0 reactions 0 assignees View on GitHub
bug editor pjs
Dominant language
JavaScript
Stars
776
Forks
180
PR merge metrics
No merged PRs in 30d

Description

Reported on ZenDesk.

To replicate:
1. Type text("Hello
2. see "message" highlighted in autocomplete tooltip above.
3. Type text("Hello, world
4. See "x" highlighted in autocomplete tooltip above.

This is a minor issue, not high priority.
I am guessing this would be addressed by @kevinb7's suggested refactoring of the autocomplete.

Contributor guide

No contributing guide indexed for this repository

Research direction

Reproduce the issue using the text() inputs described in the report, then trace the autocomplete argument-highlighting path and tooltip output. Done means commas inside text such as "Hello, world" no longer cause unrelated text to be highlighted in the autocomplete tooltip.

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
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.