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

Possible to support more "Language Definition" for CodeEditor ? #256

Closed
aj3423 opened this issue Aug 11, 2021 · 3 comments
Closed

Possible to support more "Language Definition" for CodeEditor ? #256

aj3423 opened this issue Aug 11, 2021 · 3 comments
Labels
enhancement New feature or request

Comments

@aj3423
Copy link

aj3423 commented Aug 11, 2021

I need to show json strings, and xml in the future, I found CodeEditor is a good choice, but currently there are only 4 types of language definitions: sql / c / cpp / lua.

Is it possible to support them ? Or maybe allow user provide some custom syntax regex, so it can fit any kind of text ?

@AllenDang
Copy link
Owner

@aj3423 Yeah, I would like to do that also. But code editor is a little bit complex, may need some time.

@gucio321 gucio321 added the enhancement New feature or request label May 9, 2023
@gucio321 gucio321 added the frozen Blocked by some other case label Jul 10, 2024
@gucio321
Copy link
Collaborator

gucio321 commented Nov 5, 2024

@aj3423 this might be a bit late, but #902 adds JSON support. There is no xml yet.

@gucio321 gucio321 removed the frozen Blocked by some other case label Nov 5, 2024
@gucio321
Copy link
Collaborator

gucio321 commented Nov 6, 2024

well, I've checked out source code of ColorTextEdit and there is no possibility to add custom syntax highlighting so I think this should be added there first. Let me close this for now.

@gucio321 gucio321 closed this as completed Nov 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants