Skip to main content



      Home
Home » Newcomers » Newcomers » i wannar select a rectangular area
i wannar select a rectangular area [message #247878] Tue, 05 February 2008 07:59 Go to next message
Eclipse UserFriend
Originally posted by: numbest.gmail.com

how can i do it,or need a plugin?thx
Re: i wannar select a rectangular area [message #248019 is a reply to message #247878] Wed, 06 February 2008 03:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: al_PUBLIC.gmx.de

On Tue, 5 Feb 2008 12:59:50 +0000 (UTC), numbest@gmail.com (Cheney)
wrote:

>how can i do it,or need a plugin?thx

Sorry, I think no one can help you on this before you provide more
information on what you want to do (.i.e. are you talking about
writing a plugin, selecting inside an (what) editor, ...).


Achim
Re: i wannar select a rectangular area [message #248047 is a reply to message #248019] Wed, 06 February 2008 07:38 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: numbest.gmail.com

Achim Lörke wrote:

> On Tue, 5 Feb 2008 12:59:50 +0000 (UTC), numbest@gmail.com (Cheney)
> wrote:

>>how can i do it,or need a plugin?thx

> Sorry, I think no one can help you on this before you provide more
> information on what you want to do (.i.e. are you talking about
> writing a plugin, selecting inside an (what) editor, ...).


> Achim
i'm sorry.
i wannar select inside the java,jsp editor in Eclipse.
is Eclipse able to do this?

import ***********
import ********
import ****************
import ****************


import
import
import
import
[/selected]
Re: i wannar select a rectangular area [message #248063 is a reply to message #248047] Wed, 06 February 2008 09:37 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: eclipse-news.rizzoweb.com

Cheney wrote:
> Achim Lörke wrote:
>
>> On Tue, 5 Feb 2008 12:59:50 +0000 (UTC), numbest@gmail.com (Cheney)
>> wrote:
>
>>> how can i do it,or need a plugin?thx
>
>> Sorry, I think no one can help you on this before you provide more
>> information on what you want to do (.i.e. are you talking about
>> writing a plugin, selecting inside an (what) editor, ...).
>
>
>> Achim
> i'm sorry.
> i wannar select inside the java,jsp editor in Eclipse.
> is Eclipse able to do this?
>
> import ***********
> import ********
> import ****************
> import ****************
>
>
> import
> import
> import
> import
> [/selected]
>

The Eclipse editors don't support rectangular/columnar selection. Here's
the feature request that asks for it:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=19771 (also note the other
bugs that it depends on).

Eric
Re: i wannar select a rectangular area [message #248332 is a reply to message #247878] Fri, 08 February 2008 02:32 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: nospam.nospam.net

>>>>> Cheney writes:
> Date: Tue, 5 Feb 2008 12:59:50 +0000 (UTC)
>
> how can i do it,or need a plugin?thx

Hi,

emasc has a set of commands operating on rectangles built in, e.g.:

clear-rectangle C-x r c
Command: Blank out the region-rectangle.
copy-rectangle-to-register C-x r r
Command: Copy rectangular region into register REGISTER.
delete-rectangle C-x r d
Command: Delete (don't save) text in the region-rectangle.
kill-rectangle C-x r k
Command: Delete the region-rectangle and save it as the last killed one.
open-rectangle C-x r o
Command: Blank out the region-rectangle, shifting text right.
replace-rectangle M-x ... RET
Command: Replace rectangle contents with STRING on each line.
string-insert-rectangle M-x ... RET
Command: Insert STRING on each line of region-rectangle, shifting text right.
string-rectangle C-x r t
Command: Replace rectangle contents with STRING on each line.
yank-rectangle C-x r y
Command: Yank the last killed rectangle with upper left corner at point.

Cheers

Martin
--
parozusa at web dot de
Re: i wannar select a rectangular area [message #250410 is a reply to message #248063] Thu, 28 February 2008 17:48 Go to previous message
Eclipse UserFriend
Originally posted by: patricia_shan8.hotmail.com

I'm new to Eclipse, so I haven't tried this yet.
If you are doing enought of this to make it worth while:

Export the file to the file system,and edit it with Microsoft Word.

Then you can use the vertical block select:
Click at the start of the block, to position the insertion point.

From Word help:

(1)Using the mouse:
A vertical block of text (except within a table cell)
Hold down ALT, and then drag over the text.
A graphic

(2)Using the arrow keys:
CTRL+SHIFT+F8, and then use the arrow keys; press ESC to cancel selection
mode
To a vertical block of text

Press Esc to get out of the vertical block selection mode.

Save the document as text.

Import it back into Eclipse.
Previous Topic:Eclipse RCP Training Series
Next Topic:Qt with Eclipse
Goto Forum:
  


Current Time: Thu May 08 13:30:33 EDT 2025

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

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

Back to the top