-
Notifications
You must be signed in to change notification settings - Fork 20
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
Prevent dragging selection of identical characters in CodeMirror #345
Prevent dragging selection of identical characters in CodeMirror #345
Conversation
WalkthroughThe pull request introduces a new dependency for the CodeMirror editor in the frontend application and modifies the configuration of the Changes
Assessment against linked issues
Poem
Tip OpenAI O1 model for chat
Recent review detailsConfiguration used: CodeRabbit UI Files ignored due to path filters (1)
Files selected for processing (2)
Additional comments not posted (2)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for your contribution.
What this PR does / why we need it?
This PR addresses an unexpected behavior in CodeMirror where dragging to select text allows the selection of identical characters. This feature implementation aims to exclude repeated characters from the selection during the drag action, enhancing the user experience.
Any background context you want to provide?
The current iteration of CodeMirror facilitates extensive functionality as a code editor. However, it also results in some selections that may not align with user expectations. By preventing the selection of identical characters during a drag action, we can improve the intuitiveness and functionality of text selection in the editor.
What are the relevant tickets?
Fixes #339
Checklist
Summary by CodeRabbit
New Features
Bug Fixes