Copy text misses last highlighted character in IPython console
See original GitHub issueDescription
Copying highlighted text from the iPython console fails to capture last highlighted character.
What steps will reproduce the problem?
- Copy text from Spyder iPython console using keyboard shortcut or context menu.
- Paste into editor or another program.
- Note the last character is missing.
What is the expected output? What do you see instead?
I would expect all the text to be copied.
Please provide any additional information below
Copy (Raw Text) does not have this issue.
Version and main components
- Spyder Version: 2.3.6
- Python Version: 2.7.10
- Qt Versions: 4.8.6, PyQt4 (API v2) 4.11.3 on Darwin
Optional dependencies
pyflakes >=0.5.0: 1.0.0 (OK)
pep8 >=0.6 : 1.6.2 (OK)
pygments >=1.6 : 2.0.2 (OK)
IPython >=1.0 : 4.0.0 (OK)
zmq >=2.1.11 : 14.7.0 (OK)
qtconsole >=4.0 : 4.0.1 (OK)
pandas >=0.13.1 : 0.16.2 (OK)
sphinx >=0.6.6 : 1.3.1 (OK)
psutil >=0.3 : 3.2.1 (OK)
rope >=0.9.2 : 0.9.4 (OK)
jedi >=0.8.1 : 0.8.1 (OK)
matplotlib >=1.0: 1.4.3 (OK)
sympy >=0.7.3 : 0.7.6.1 (OK)
pylint >=0.25 : None (NOK)
Issue Analytics
- State:
- Created 8 years ago
- Comments:10 (6 by maintainers)
Top Results From Across the Web
python - syntax highlighting in ipython console - Stack Overflow
In ipython-qtconsole , when I type import pandas as pd the words have syntax highlighting. However, when I type in the console, all...
Read more >Best Python Jupyter-Notebook Tricks - Towards Data Science
4 Time-Saving Python Tricks in Jupyter-Notebook. Write code faster using Find and Replace, Copy and Paste and Much More.
Read more >Python Tutorial - File and Text Processing
File Input/Output. File Input/Ouput (IO) requires 3 steps: Open the file for read or write or both. Read/Write data. Close the file to...
Read more >IPython shortcuts — IPython 6.5.0 documentation
Single Filtered shortcuts¶ ; <PageUp>, (Not: HasSelection), Move back through the history list, fetching the previous command ; <Bracketed-Paste>, Always, Pasting ...
Read more >How often do people actually copy and paste from Stack ...
In the case of our recent April Fools gag, it might be more like an ... We were able to catalog every copy...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This issue is indeed resolved with the last update.
yes, I was on qtconsole 4.2.0