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

CSS syntax highlighting #12

Open
1 task done
LoreHan64 opened this issue Dec 27, 2024 · 6 comments
Open
1 task done

CSS syntax highlighting #12

LoreHan64 opened this issue Dec 27, 2024 · 6 comments

Comments

@LoreHan64
Copy link

LoreHan64 commented Dec 27, 2024

Check for existing issues

  • 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
@bajrangCoder
Copy link

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

@LoreHan64
Copy link
Author

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

By using github plugin

@bajrangCoder
Copy link

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

@bajrangCoder bajrangCoder transferred this issue from Acode-Foundation/Acode Dec 29, 2024
@LoreHan64
Copy link
Author

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

I thought syntax highlighting was related to the app itself

@LoreHan64
Copy link
Author

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
Copy link
Author

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

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

No branches or pull requests

2 participants