acode-plugin-python icon indicating copy to clipboard operation
acode-plugin-python copied to clipboard

CSS syntax highlighting

Open LoreHan64 opened this issue 10 months ago • 6 comments
trafficstars

Check for existing issues

  • [x] Completed

Describe the bug / provide steps to reproduce it

One of the css files (It seems to be a CSS file linked to a remote project (similar to a GitHub repository), let's call it css1) will be highlighted abnormally, but the syntax highlighting of the other css file will be displayed normally.

Figure 1 is the syntax highlighting of remote files under normal circumstances(i.e. css1),Figure 2 shows the syntax highlighting of the css1 file when the local css file is in the list.

Steps to reproduce: Have a CSS file in the GitHub repository in the list; create a new CSS file locally and save it after editing; restart the software and check the syntax highlighting of CSS1.

Environment

Device Information: WebView Info: Package Name: com.google.android.webview Version: 131.0.6778.104

App Info: Name: Acode Package Name: com.foxdebug.acode Version: 1.10.6 Version Code: 954

Device Info: Android Version: 12 Manufacturer: samsung Model: SM-N976N Platform: Android Cordova Version: 13.0.0

Screen Info: Width: 412 Height: 869 Color Depth: 24

Additional Info: Language: zh-TW User Agent: Mozilla/5.0 (Linux; Android 12; SM-N976N Build/SP1A.210812.016; wv) AppleWebKit/537.36 (KHTML, like Gecko) Version/4.0 Chrome/131.0.6778.104 Mobile Safari/537.36

If applicable, add mockups / screenshots regarding your vission

Screenshot_20241227_145219_Acode Screenshot_20241227_145302_Acode

If applicable, attach your Acode.log file to this issue.

Acode.log

LoreHan64 avatar Dec 27 '24 07:12 LoreHan64

How did you open the GitHub CSS file? Are you using the GitHub plugin, or did you use another method?

bajrangCoder avatar Dec 27 '24 13:12 bajrangCoder

How did you open the GitHub CSS file? Are you using the GitHub plugin, or did you use another method?

By using github plugin

LoreHan64 avatar Dec 28 '24 05:12 LoreHan64

This is not related to Acode, it's plugin specific

bajrangCoder avatar Dec 29 '24 03:12 bajrangCoder

This is not related to Acode, it's plugin specific

I thought syntax highlighting was related to the app itself

LoreHan64 avatar Dec 29 '24 04:12 LoreHan64

This is not related to Acode, it's plugin specific

I tried creating two local css files to rule out the plugin, so I tried removing the remote file from the list and creating two css files locally, and one of them still had the weird syntax highlighting.

For now, it seems that the file with normal syntax highlighting is the last CSS file in the list. This file will be displayed by default when you restart the app.

LoreHan64 avatar Dec 29 '24 04:12 LoreHan64

So, I am going to make a new issue on acode.

LoreHan64 avatar Dec 31 '24 13:12 LoreHan64