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

Move selection modification out of view.rs #1198

Open
cmyr opened this issue Jun 22, 2019 · 0 comments
Open

Move selection modification out of view.rs #1198

cmyr opened this issue Jun 22, 2019 · 0 comments

Comments

@cmyr
Copy link
Member

cmyr commented Jun 22, 2019

A user of the xi-core library should be able to use and modify selections without needing to use a View.

The main challenge here is that we need to introduce some abstraction for representing the things that are currently provided by the view, such as navigation up and down by arrow keys, which depends on line breaks.

My inclination is to introduce a trait that describes this behaviour.

For more details see #1187; also a version of this exists in my xi-modal branch (used for the rust playground): see here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
editor toolkit
  
To do
Development

No branches or pull requests

1 participant