MagicStack / MagicStack/MagicPython
Multiline string in Python Console is not highlighted properly
- Dominant language
- JavaScript
- Stars
- 1.4k
- Forks
- 98
- PR merge metrics
- No merged PRs in 30d
Description
* **Editor name and version**: Atom 1.27.1 & GitHub
* **Platform**: Ubuntu
* **Color scheme**: One Dark
* **MagicPython version**: 1.0.12
* **A sreenshot**:

* **5-10 lines of surrounding code**:
```pycon
>>> lua_func = lua.eval('''
... function(a, b) -- a plus b
... return a + b
... end
... ''')
```
* **The same code highlighted by Pygments**:

Contributor guide
No contributing guide indexed for this repository
Research direction
No source file or test is named. Reproduce the highlighting in Atom 1.27.1 on Ubuntu with MagicPython 1.0.12 using the supplied pycon snippet, then compare it with the Pygments screenshot; it is done when the multiline embedded Lua code is highlighted correctly.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- lua, python
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100