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
Copy/Paste stripping broken in version > 0.13.x in QTConsole #4728
Comments
The only difference being that the prompt has gone into double digits, right? That's rather bizarre, but I can reproduce it. |
Oh, I bet I've got it. The regex for the Nice catch, by the way :-) |
One more:
If copy just the middle of a cell and paste it, the dots don't seem to get stripped. |
Closes ipythongh-4728 Thanks to the excellent detective work by @y-p, this was an easy fix.
Closes ipythongh-4728 Thanks to the excellent detective work by @y-p, this was an easy fix.
This bug has kept me on 0.13.x for as long as I can remember. Every time
I decided to open a bug report I'd fire up QTconsole and make sure it
wasn't fixed in master already. And evertyime It was. And I would happily switch,
and in a day or so the bug always reappeard, and It seemed as if I was losing my mind.
Gladly, not so. Finally nailed it.
When Ipython is in the following state:
Marking the entire context with mouse and copying removes the leading
dots and let's you paste your code into your code editor. As it should.
That works too.
This only strips the prompt from the first line. See it?
Months. Literally Months to figure this out.
Related #3323, #3206
cc @takluyver
The text was updated successfully, but these errors were encountered: