-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
DisAsm: double-click and tripple-click should select text at cursor. #3252
base: dev
Are you sure you want to change the base?
Conversation
Hey @Kaldesyvon and welcome to Cutter :) Thank you for this contribution! What do others think? |
I do agree with @ITAYC0HEN . |
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.
Sorry, pressed the wrong button. Yes, lets go with the solution @ITAYC0HEN suggested.
Thank you for responses, but I have two more questions:
|
I would leave he default text field selection behavior as is. Not being able to select the exact range I want seems more annoying, than the minor convenience of selecting whole words when that's what I want. There is potential room for improving the selection behavior to support mainting selection after scrolling and even selecting wider range than being displayed. But that's a lot more complicated task that should be done in a separate issue. |
Your checklist for this pull request
Detailed description
I have implemented new feature for disassembly view. You can now double click to select word and triple click to select whole line, like most editor have this feature nowadays. It is now easier to select text and copy it. This does not eliminate feature to jump to address. You can do it by holding down Ctrl key and double click on address.
Test plan (required)
To test it just open disassembly view and double click or triple click on line. You can copy text with Ctrl + C. Also test double click on address or name of function that
call
instruction calls. You are able to select it now. Hold down Ctrl and double click on address or function name and you will be redirected to that address.Closing issues
closes=#3097