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

Add read/write of TextEdit cursor state #848

Merged
merged 9 commits into from Oct 27, 2021
Merged

Add read/write of TextEdit cursor state #848

merged 9 commits into from Oct 27, 2021

Conversation

emilk
Copy link
Owner

@emilk emilk commented Oct 27, 2021

This refactors TextEdit so that users can get and set the current cursor. I've updated the easymark editor demo with key-bindings for toggling bold, italics etc using ctrl-B, ctrl-I, etc.

This change will make it easier to build more advanced text editors using egui.

@emilk emilk changed the title Refactor text edit Add read/write of TextEdit cursor state Oct 27, 2021
@emilk emilk merged commit c7638ca into master Oct 27, 2021
@emilk emilk deleted the refactor-text-edit branch October 27, 2021 14:30
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

Successfully merging this pull request may close these issues.

None yet

1 participant