You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
virtualenv -p python3 repro_jupyter_printf
source repro_jupyter_printf/bin/activate
pip install jupyter
cd repro_jupyter_printf
JULIA_PROJECT=. julia -e 'import Pkg; Pkg.add("IJulia")'
JULIA_PROJECT=. jupyter notebook
Then in the Jupyter frontend, create a new Julia notebook, and in the first cell (a code cell), type these characters:
"$(@sprintf("%04
The 4 is not displayed, and the frontend gets confused. From that point on the cell looks not editable (in Firefox, no cursor), and trying to type new text in the cell results in the text disappearing and sometimes reappearing. Also, the cell loses all syntax highlighting. This behavior for the offending cell persists across page reloads. Editing other cells or creating new cells still works.
I'm guessing the syntax highlighter is getting confused.
The text was updated successfully, but these errors were encountered:
The Julia mode doesn't seem to crash on this input, but this does sound like issue #6064, which was fixed two months ago. So see if you can get Jupyter to update that code (specifically mode/julia/julia.js). If that doesn't help, feel free to reopen.
Redirected from JuliaLang/IJulia.jl#896:
Steps to reproduce:
Then in the Jupyter frontend, create a new Julia notebook, and in the first cell (a code cell), type these characters:
The 4 is not displayed, and the frontend gets confused. From that point on the cell looks not editable (in Firefox, no cursor), and trying to type new text in the cell results in the text disappearing and sometimes reappearing. Also, the cell loses all syntax highlighting. This behavior for the offending cell persists across page reloads. Editing other cells or creating new cells still works.
I'm guessing the syntax highlighter is getting confused.
The text was updated successfully, but these errors were encountered: