Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » Copy problems with Smart Insert(Smart Insert causes copy to fail)
Copy problems with Smart Insert [message #731331] Fri, 30 September 2011 16:48 Go to next message
Bill Somerville is currently offline Bill SomervilleFriend
Messages: 2
Registered: September 2011
Junior Member
Hi. I originally had this problem sporadically on Galileo, then it became permanent (no idea what changed - maybe an upgrade to Eclipse). So, in the hope that Indigo would be better, shifted. Indigo has the same problem, though now I've narrowed down the cause.

Basically, with Smart Insert enabled (in Java EE), copy doesn't work. Keyboard mappings are OK, and it even fails when using the Edit menu (Edit / Copy). "Fails" means it does nothing. Cut works, but it's a poor workaround. With Smart Insert disabled, copy works again, though a lot of functionality is lost, e.g. smart indenting.

This is not a paste problem - copy just fails to add the selected text to the clipboard, as confirmed by trying to paste into, e.g., Notepad. It seems to be sensitive to the type of text selected, as it will work if a word or two are selected, but will fail if a line or several lines are selected. Occasionally, it will work within a class/interface/method, but fails outside of class/interface/method. For example, select a couple of lines of text in another method to copy into the current method - won't copy.

This is on Windows Vista, FWIW.

Ideas?
Re: Copy problems with Smart Insert [message #734900 is a reply to message #731331] Mon, 10 October 2011 10:11 Go to previous messageGo to next message
Dani Megert is currently offline Dani MegertFriend
Messages: 3802
Registered: July 2009
Senior Member
On 30.09.2011 18:48, Bill Somerville wrote:
> Hi. I originally had this problem sporadically on Galileo, then it
> became permanent (no idea what changed - maybe an upgrade to
> Eclipse). So, in the hope that Indigo would be better, shifted.
> Indigo has the same problem, though now I've narrowed down the cause.
>
> Basically, with Smart Insert enabled (in Java EE), copy doesn't work.
> Keyboard mappings are OK, and it even fails when using the Edit menu
> (Edit / Copy). "Fails" means it does nothing. Cut works, but it's a
> poor workaround. With Smart Insert disabled, copy works again, though
> a lot of functionality is lost, e.g. smart indenting.
>
> This is not a paste problem - copy just fails to add the selected text
> to the clipboard, as confirmed by trying to paste into, e.g.,
> Notepad. It seems to be sensitive to the type of text selected, as it
> will work if a word or two are selected, but will fail if a line or
> several lines are selected. Occasionally, it will work within a
> class/interface/method, but fails outside of class/interface/method.
> For example, select a couple of lines of text in another method to
> copy into the current method - won't copy.
>
> This is on Windows Vista, FWIW.
>
> Ideas?
Nope, works fine for me. I suggest you file a bug with steps to
reproduce if you still see this in Juno M2.

Dani
Re: Copy problems with Smart Insert [message #753876 is a reply to message #734900] Sat, 29 October 2011 18:19 Go to previous message
Bill Somerville is currently offline Bill SomervilleFriend
Messages: 2
Registered: September 2011
Junior Member
For some reason, this problem has cleared itself up. No idea why. One possibility is that my use of -clean during Eclipse startup may have been ineffective. I generally have 2-3 instances of Eclipse open at any given time, and unless you stop them all, -clean not only won't work, but will make things worse, as it's probably pulling the rug out from under the other instances. Perhaps one of these times I got lucky and only had one instance running before trying to get clean.

Thanks...
Previous Topic:DocumentEvent modification stamp
Next Topic:Feature request: More lines for task description in IProgressMonitor
Goto Forum:
  


Current Time: Tue Apr 16 06:33:50 GMT 2024

Powered by FUDForum. Page generated in 0.24116 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top