Bug 5473 - Shift-Left behavior with intermixed tabs and spaces
Summary: Shift-Left behavior with intermixed tabs and spaces
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: 2.0 M2   Edit
Assignee: Claude Knaus CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2001-11-02 11:32 EST by Lynne Kues CLA
Modified: 2002-01-09 11:00 EST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Lynne Kues CLA 2001-11-02 11:32:12 EST
Build 20011025

1. In a default text editor type in the following:

<space><tab>some text
<tab>some text

2. Now highlight the two lines above and execute Shift-Left.  Notice that 
nothing moves.  
3. Replace the tab character in the first line with spaces so that the two 
lines are indented the same visually.  Execute Shift-Left.  The text now moves.

I'm not sure how this is spec'd, but in the first scenario it seems like the 
second line should be shifted left and the first line should be shifted left at 
least to the space character (i.e., get rid of the tab).  At any rate, it's 
definitely confusing if there is a stray space.  You don't know why the text 
won't shift.
Comment 1 Claude Knaus CLA 2002-01-09 11:00:49 EST
fixed > 20020108