Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python 代码高亮问题 #333

Open
TaceyWong opened this issue Dec 14, 2018 · 1 comment
Open

Python 代码高亮问题 #333

TaceyWong opened this issue Dec 14, 2018 · 1 comment

Comments

@TaceyWong
Copy link

TaceyWong commented Dec 14, 2018

The more we know about your system and use case, the more easily and likely we can help.

Environment info

  • OS:Mojava MacOS
  • App Version (Command/Ctrl + ,):版本 1.7.0 (1.7.0)

Description of the problem / feature request / question:

Python 代码高亮问题:编辑无问题,但显示的时候跨行三引号字符串识别不出来

If possible, provide a sample gist or screenshot:

截图
截图

@cixuuz
Copy link
Collaborator

cixuuz commented Feb 18, 2019

The reason is that the code is broken into lines and then each line is rendered respectively.

const contentTable = adaptedHighlightedContent.split(/\r?\n/).map(lineContent => {

Maybe need alternative way to show the line number.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants