Bug 253165 - [navigation] Extended copy, cut and Extended paste (act on surrounding word)
Summary: [navigation] Extended copy, cut and Extended paste (act on surrounding word)
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.4.2   Edit
Hardware: All All
: P5 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-03 05:26 EST by Silver Zachara CLA
Modified: 2019-09-06 16:09 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Silver Zachara CLA 2008-11-03 05:26:20 EST
Hi,

I lacking one great feature in the Eclipse and it's Extended Copy, Extended Cut and
Extended Paste. I have inspired in the PHPEdit. I don't use PHPEdit, but I
tried him.

It works like this. When I click ctrl+c on some word, constant, variable,
etc... so this part of text is Copied to the Clipboard without prior selection!
of this text. As well as this is with cut(ctrl+x), but the text is Cut.

Extended Paste isn't on the ctrl+v key, but on the ctrl+b or ctrl+shift+v and
it works similar how works Extended Copy and Extended Cut, but the word or text
under cursor is changed/substituted.

This would be actually identical with the following procedure, doubleclick on
the word(varialbe, const,...) or ctrl+shift+right-arrow(or left-arrow) and then
ctrl+c and as well as for subtitute, thus ctrl+b.

I remark that this behavior is in default configuration. I think, that this is
great feature.


Here are shortcuts how are set up in PHPEdit:
http://img225.imageshack.us/my.php?image=extendecopycutpaste1tx9.jpg


EXTENDED COPY:
After ctrl+c is word under cursor selected and the cursor is moved to the end
of this selection.(No matter where is the position of the cursor in the word):
before copy(ctrl+c) is cursor after letter s on the picture:
http://img239.imageshack.us/my.php?image=extendecopycutpaste2zg8.jpg

after ctrl+c, is whole word under cursor selected and cursor is after the
selection and selected part is in the clipboard:
http://img523.imageshack.us/my.php?image=extendecopycutpaste6uy5.jpg


EXTENDED CUT:
After ctrl+x is word under cursor cuted:
before cut is cursor after letter t on the picture:
http://img236.imageshack.us/my.php?image=extendecopycutpaste3cw2.jpg

after Extended Cut ctrl+x, is whole word in the clipboard:
http://img401.imageshack.us/my.php?image=extendecopycutpaste5ph9.jpg


EXTENDED PASTE:
Before I have selected the word is_numeric(of course with extended selection ;)
):
http://img231.imageshack.us/my.php?image=extendecopycutpaste7bb0.jpg

Before "Extended Paste" is the cursor after the letter r in the command
is_string($a):
http://img231.imageshack.us/my.php?image=extendecopycutpaste8qr4.jpg

After ctrl+b(or ctrl+shift+v) is the command is_string substituted/changed
behind command is_numeric and important/crucial is that ($a) after command is
unchanged and the cursor is after substituted/exchanged word:
http://img231.imageshack.us/my.php?image=extendecopycutpaste9zt5.jpg


This feature would greatly speed up the work.

I think, that this feature should not be difficult to implement and I would be
very happy, if this was done in new Eclipse ;)

If You don't understand something, please ask me.
Comment 1 Paul Webster CLA 2008-11-04 15:23:31 EST
Is this something that text can already do?

PW
Comment 2 Silver Zachara CLA 2008-11-04 16:03:22 EST
(In reply to comment #1)
> Is this something that text can already do?
> 
> PW
> 

You ask me if not then ignore my reply ? Because I don't understand what do you think. I don't know if text alredy do this, beacuse I don't know what do you mean under "text".
Comment 3 Paul Webster CLA 2008-11-04 17:56:52 EST
(In reply to comment #2)
> You ask me if not then ignore my reply ? Because I don't understand what do you
> think. I don't know if text alredy do this, beacuse I don't know what do you
> mean under "text".

That question was directed at Dani or Markus, sNop.

PW
Comment 4 Markus Keller CLA 2008-11-06 07:05:14 EST
> Is this something that text can already do?

Currently not possible. Bug 23625 requests that cut/copy on empty selection should act on the whole line. 
Comment 5 Eclipse Webmaster CLA 2019-09-06 16:09:31 EDT
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet.

If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.