uiwjs / uiwjs/react-codemirror
Highlighting does not work for languages from legacy mode
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 2.3k
- Forks
- 161
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I think there is an issue related to the languages from legacy mode, which don't work or work only partially.
See for example bash, curl should be highlighted:
Or for C, printf should be highlighted, also types are not highlighted:
I wonder if you can help, thank you.
Luca
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the highlighting failures in legacy mode using the bash, curl, and C examples from the issue. Trace the legacy-mode language entry point and compare the affected highlighting behavior with the expected highlighting for shell commands, printf, and C types. Done means those examples highlight correctly without regressing other legacy languages.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100