when coping 1 line into ms office, the blue selection box stays
I noticed when copying vhdl text into an ms office application, the formatting is retained as expected as long as 2+ lines are selected. When just a single line is selected, it gets pasted in with the blue selection box present as you can see in the screenshots.
Screenshots were taken post-copy from the Outlook 2010 message editor.
2 or more lines selected
single line selected
- Forums:
upstream issue
Hi Nathanael,
We can reproduce this on Windows with MS Word, but on other platforms or with other word processors. I'm not sure if this is an Eclipse issue or a Word issue.
We have also noticed that if copy an entire line, formatting works as expected. The workaround would be to copy a larger portion of your code, at least an entire line. I realize that it can be troublesome if you need to copy many small pieces.
I'll check with the upstream Eclipse project and file an issue there.
Philippe
known Eclipse issue
Turns out this is a known Eclipse issue https://bugs.eclipse.org/bugs/show_bug.cgi?id=86503
workaround
A more practical workaround would be to disable the Highlight Current Line feature:
Window > Preferences > General > Editors > Text Editors and disable Highlight current line.
Post new comment