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

Preserves the text cursor position when right-clicking in TextEdit #5180

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

rustbasic
Copy link
Contributor

@rustbasic rustbasic commented Sep 28, 2024

Preserves the text cursor position when right-clicking in TextEdit

After using it for a long time, I find it convenient.

Advantages:

  1. Right-clicking allows you to maintain the cursor position or selection while gaining focus.
  2. Right-dragging lets you specify a region starting from the current cursor position. ( as SHIFT + Left-dragging )

Copy link

Preview available at https://egui-pr-preview.github.io/pr/5180-patch130
Note that it might take a couple seconds for the update to show up after the preview_build workflow has completed.

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.

1 participant