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

Improve simulate_input #1786

Merged
merged 2 commits into from
May 20, 2021
Merged

Conversation

CryZe
Copy link
Contributor

@CryZe CryZe commented May 18, 2021

Various common operations were not implemented. I'm not 100% why these weren't implemented, but I'm assuming this is because the IME work isn't done yet.

Various common operations were not implemented.
druid-shell/src/text.rs Outdated Show resolved Hide resolved
druid-shell/src/text.rs Outdated Show resolved Hide resolved
@maan2003 maan2003 added the S-waiting-on-author waits for changes from the submitter label May 19, 2021
@CryZe
Copy link
Contributor Author

CryZe commented May 19, 2021

Alright I made the changes. However it seems like page up and down movement simply isn't implemented in the textbox, but I guess that's fine for now.

Page up and down now correlate with page up and down movement. Home and
End now either move to the start and end of the line or to the start and
the end of the document respectively based on whether control is held.
@SecondFlight SecondFlight added S-needs-review waits for review and removed S-waiting-on-author waits for changes from the submitter labels May 19, 2021
@CryZe
Copy link
Contributor Author

CryZe commented May 19, 2021

Seems like the CI is trolling me.

Copy link
Collaborator

@maan2003 maan2003 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@maan2003 maan2003 added S-ready PR is ready to merge and removed S-needs-review waits for review labels May 19, 2021
@maan2003 maan2003 merged commit 7afd02d into linebender:master May 20, 2021
@cmyr
Copy link
Member

cmyr commented May 24, 2021

Yea pageup/pagedown aren't implemented because they're surprisingly tricky; they don't modify the selection or cursor at all, and are instead handled by the scrollview.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-ready PR is ready to merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants