[jira] [Commented] (TOREE-363) Syntax Highlighting Breaks
[ https://issues.apache.org/jira/browse/TOREE-363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15857194#comment-15857194 ] Marius Van Niekerk commented on TOREE-363: -- So i believe we are passing the wrong mimetype to the frontend. In spylon-kernel (another alternative kernel for scala spark) I pass the following and it seems to work https://github.com/maxpoint/spylon-kernel/blob/master/spylon_kernel/scala_kernel.py#L21-L29 > Syntax Highlighting Breaks > -- > > Key: TOREE-363 > URL: https://issues.apache.org/jira/browse/TOREE-363 > Project: TOREE > Issue Type: Bug >Reporter: Aleksei Aleksinov >Priority: Minor > Attachments: Screen Shot 2017-01-26 at 18.40.54.png > > > Syntax highlighting breaks after a while of usage. But Scala code execution > and Spark jobs work well. > Affects Toree 0.2.0-dev1 > Jupyter 4.2.1 > Scala 2.12.1 or 2.11.8 > Spark 2.1.0 > Python 3.6 -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (TOREE-363) Syntax Highlighting Breaks
[ https://issues.apache.org/jira/browse/TOREE-363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15857170#comment-15857170 ] Felix Schüler commented on TOREE-363: - I can confirm this but I'm not sure if it's toree related. It usually happens for new cells (e.g. when evaluating the last cell with Shift + Enter). When refreshing the notebook web-page the rendering is correct again. > Syntax Highlighting Breaks > -- > > Key: TOREE-363 > URL: https://issues.apache.org/jira/browse/TOREE-363 > Project: TOREE > Issue Type: Bug >Reporter: Aleksei Aleksinov >Priority: Minor > Attachments: Screen Shot 2017-01-26 at 18.40.54.png > > > Syntax highlighting breaks after a while of usage. But Scala code execution > and Spark jobs work well. > Affects Toree 0.2.0-dev1 > Jupyter 4.2.1 > Scala 2.12.1 or 2.11.8 > Spark 2.1.0 > Python 3.6 -- This message was sent by Atlassian JIRA (v6.3.15#6346)
[jira] [Commented] (TOREE-363) Syntax Highlighting Breaks
[ https://issues.apache.org/jira/browse/TOREE-363?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=15857140#comment-15857140 ] Jakob Odersky commented on TOREE-363: - AFAIK syntax highlighting is not handled by the kernels themselves, they only pass a hint to the notebooks, telling them what language it uses. How often does this happen? I am unable to reproduce it. > Syntax Highlighting Breaks > -- > > Key: TOREE-363 > URL: https://issues.apache.org/jira/browse/TOREE-363 > Project: TOREE > Issue Type: Bug >Reporter: Aleksei Aleksinov >Priority: Minor > Attachments: Screen Shot 2017-01-26 at 18.40.54.png > > > Syntax highlighting breaks after a while of usage. But Scala code execution > and Spark jobs work well. > Affects Toree 0.2.0-dev1 > Jupyter 4.2.1 > Scala 2.12.1 or 2.11.8 > Spark 2.1.0 > Python 3.6 -- This message was sent by Atlassian JIRA (v6.3.15#6346)