Bug 302539 - Cursor shouldn't move after using tab to indent a block
Summary: Cursor shouldn't move after using tab to indent a block
Status: CLOSED DUPLICATE of bug 22592
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.0   Edit
Hardware: All All
: P3 minor (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-02-10 23:15 EST by Adam Nielsen CLA
Modified: 2010-02-22 22:21 EST (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 Adam Nielsen CLA 2010-02-10 23:15:12 EST
Build Identifier: M20090917-0800

If you select some text by using Shift+Up (to select from the bottom to the top) when you press Tab to indent the block the cursor jumps to the end of the block instead of staying where it was.

Reproducible: Always

Steps to Reproduce:
1. Press Shift+Up to select a few lines of text
2. Press Tab
3. Observe cursor has moved, and you have to press Up a few times to get back to where you started
Comment 1 Dani Megert CLA 2010-02-22 09:30:16 EST

*** This bug has been marked as a duplicate of bug 22592 ***
Comment 2 Markus Keller CLA 2010-02-22 09:36:58 EST
> 3. Observe cursor has moved, and you have to press Up a few times to get back
> to where you started

Not exactly an answer to your whole bug report, but if you just want to jump to the beginning of the selection, you can press the ARROW_LEFT key once (no matter if the caret was at the start or the end of the selection).
Comment 3 Adam Nielsen CLA 2010-02-22 22:21:22 EST
Oh, thanks for the pointer - it may not be a complete solution but it's certainly a better workaround than I've got right now :-)