Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

On every other editor in the universe, that key sequence would highlight the next word. But in the Eclipse HTML editor it highlights the entire page. This is driving me insane, why does this one text editor out of all of the Eclipse packages break this convention? I'm doing some work in the middle of a huge file and I'm trying to highlight one word, and then all of a sudden I've highlighted the whole file and the focus has jumped to the top of the file and I can't even find my place again.

Is there a way to adjust this behavior? Is there a better option for an HTML editor for Eclipse?

share|improve this question
1  
Less ranty, more questionny. –  Gnoupi Oct 29 '09 at 16:25
1  
Actually in most editors, Shift+CTRL+Arrow would select a word. Alt is not Ctrl. –  CarlF Oct 29 '09 at 17:06
1  
Just to add to CarlF's comment, Shift+Ctrl+Arrow does have this expected behavior in Eclipse. –  Pops Oct 29 '09 at 17:40

1 Answer 1

up vote 1 down vote accepted

Go to preferences, General, Keys : Select Previous Element (list item name)

The preference for shift-alt-left should be under "Select Previous Element", but may be different for the precise file type you are editing, or have been changed by a plug-in you installed, perhaps?

Doing a search for "page" I certainly don't see that; I have the default settings.

share|improve this answer
    
That doesn't seem to fix the problem, it seems that the HTML editor even has a weird definition of what the "next word" actually is and may mean it is a tag. In the middle of JavaScript in HTML the tag is the start of the <script> tag. –  MikeN Oct 29 '09 at 20:36
1  
Actually this fixed the problem! Made a few small mistakes the first time! Thanks. It helped fix a really frustrating problem. –  MikeN Oct 29 '09 at 22:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.