Lepton icon indicating copy to clipboard operation
Lepton copied to clipboard

No syntax highlighting for Python files

Open D0miH opened this issue 1 year ago • 4 comments

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

Environment info

  • OS: MacOS 12.4
  • App Version (Command/Ctrl + ,): 1.10.0

Description of the problem / feature request / question:

When creating python code snippets there is no syntax highlighting when viewing the snippets. However, during creation of the snipped there syntaxhighlighting.

If possible, provide a sample gist or screenshot:

Screenshot 2022-08-01 at 12 28 01 Screenshot 2022-08-01 at 12 23 39

If possible, provide the log files

For Lepton after v1.9.0, the path of the log file can be found at Command/Ctrl + ,

  • Mac: ~/Library/Application Support/Lepton/logs
  • Windows: C:\Users\<username>\AppData\Roaming\Lepton\logs
  • Linux: ~/.cached/Lepton/logs

The debug mode is recommended when producing the logs. You can send your log file to [email protected] if don't want to post it here.

D0miH avatar Aug 01 '22 10:08 D0miH

Same issue here

superzjn avatar Aug 22 '22 14:08 superzjn

I cannot reproduce on my side, can you share your gist for testing?

hackjutsu avatar Sep 27 '22 05:09 hackjutsu

Thanks for the answer @hackjutsu To be honest, I cannot reproduce it anymore. @superzjn can you reproduce it?

Otherwise, I would close this issue.

D0miH avatar Sep 27 '22 08:09 D0miH

I still can repro it. Here is my gist and pls see the local view below https://gist.github.com/superzjn/20fdfe26402f13f4b33517c4934bc3dd

image

superzjn avatar Sep 27 '22 14:09 superzjn