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

[Proposal] Consider to use AvaloniaEdit #1

Closed
timunie opened this issue Mar 27, 2023 · 1 comment
Closed

[Proposal] Consider to use AvaloniaEdit #1

timunie opened this issue Mar 27, 2023 · 1 comment

Comments

@timunie
Copy link

timunie commented Mar 27, 2023

In order to improve performance for large files, consider to try AvaloniaEdit

@davidtimovski
Copy link
Owner

Hello,

I am aware of AvaloniaEdit. It has been suggested to me previously as a solution to a problem in a different project but I didn't have much luck with it.

Feature-wise it's overkill. It's looks very old school, and it's hard to style and change because the docs are scarce. Well, the docs don't exist and the documentation of its parent AvalonEdit are more of a code reference than actual documentation. If I was using it, my perfect implementation of it in this project would contain only what's needed for formatting JSON and I'd be able to style it from scratch. But that's not how it works. It's fairly bloated and was obviously created to be a drop in code editor. In every other scenario it doesn't fit.

I'd prefer to dig into it and try and see how they achieve performant text formatting. If that becomes too low level for me I'll probably give up.

Thanks for the suggestion though, all info is valuable.

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