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

Simple and clean. One suggestion #1

Open
joonhwan opened this issue Jul 2, 2012 · 1 comment
Open

Simple and clean. One suggestion #1

joonhwan opened this issue Jul 2, 2012 · 1 comment

Comments

@joonhwan
Copy link

joonhwan commented Jul 2, 2012

Though not get to begin work on my fork, it stucks to me that it'd be good if it is browsable(mouse drag selection, moving cursor all around the text to select/copy text). How about put another third state "browsing(or what ever)" as well as normal and lock state. This state is entered when user move away from the 'right' input position and exit when user inputs characters or does paste.
Your simple works inspire me! Thanks.

@pb82
Copy link
Owner

pb82 commented Jul 2, 2012

Thanks for your suggestions. The reason why mouse selection is disabled atm is that this would allow to select multiple lines and paste them back. The repl currently does not support multiline input but that would be a nice feature to add. I will look at this as soon as possible.

However, you can enable mouse interaction by removing the handlers in the ReplWidget.h file (and reinstall the widget):

void mousePressEvent(QMouseEvent ) { / Ignore */ }
...

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

No branches or pull requests

2 participants