[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] Re: 2.1/M5 Why is the Home Key == first char on line and not position 0?

ehhmmm

Eclipse has smart past now (or how that is called!) :)

for example:

\tFoo foo = new Foo();
\t{
\t\tBar bar = new Bar();
\t}

Now i go to the end of the line of Foo

then i press Shift-Home (selects only the text)
CTRL-C to copy
then just go 2 down (on the line of Bar)
and press CTRL-V
an Foo will go very nicely on the same indent as Bar.

johan



"Dave Wegener" <wegener@xxxxxxxxxxxxxx> wrote in message news:b2g9b6$umi$1@xxxxxxxxxxxxxxxx
> Smart home is very very anoying :)
>
> I almost never want to go to the first non-whitespace character on a line.
>  However, I often want to go to the very first character on the line. If I
> want to make a selection to cut copy, I want to start from the beginning
> of the line.  Otherwise the positioning of the cursor for a subsequent
> paste gets all messed up.
>
> I'm ever so greatfull that it has an option to turn it off.
>
>
> Johan Compagner wrote:
>
> > Smart home is very very handy
>
> > In java files you always never want to go really to the first position...
> > And if so home cycles for you...
>
> > johan
>
> > "Ross Yakulis" <yakulis@xxxxxxxxx> wrote in message
> news:b2ebdd$hdd$1@xxxxxxxxxxxxxxxx
> > > Why was the home key changed from begin line (position 0) to first
> character
> > > on line.  Then pressing the key again does the opposite.   That seems bad
> > > design to me.  A key press should always be the same not not context
> > > sensitive.
> > >
> > > Ross
> > >
> > >
>
>
>
>
>