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

Implement Piece table for parsing and storing text. #41

Open
RedddFoxxyy opened this issue Jan 14, 2025 · 2 comments
Open

Implement Piece table for parsing and storing text. #41

RedddFoxxyy opened this issue Jan 14, 2025 · 2 comments

Comments

@RedddFoxxyy
Copy link
Member

This issue is to be discussed.

@RaphGL
Copy link
Contributor

RaphGL commented Jan 14, 2025

Are we gonna be making our own custom editor?

If you're going to do this on the rust side then I suggest maybe using Ropey, it's not a piece table (which is my preference too), it's a rope data structure.
It's used by Helix, my editor of choice and I've never felt that helix is sluggish and since it's being used in helix, it's battle tested, so maybe we could give it a try.

@RedddFoxxyy
Copy link
Member Author

I have not decided yet to use rust or not for the custom editor. But yeah we will be making a custom editor for the project.


If you're going to do this on the rust side then I suggest maybe using Ropey, it's not a piece table (which is my preference too), it's a rope data structure.
It's used by Helix, my editor of choice and I've never felt that helix is sluggish and since it's being used in helix, it's battle tested, so maybe we could give it a try.

will check it out

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