Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 352482

Summary: [client] [editor] Unindent lines fails on text block with an empty line
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: EditorAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: minor    
Priority: P3 CC: Silenio_Quarti
Version: unspecified   
Target Milestone: 0.3 M2   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2011-07-19 11:46:47 EDT
1. Create a file with this content:
>		var foo;
>
>		var bar;

(The indentation is tab characters, and the 2nd line is empty).
2. Select all 3 lines in the file.
3. Press Shift+Tab. I expected the lines with content to be unindented, but they are not. The empty line causes the editor to bail out and it changes the focus instead.

Very minor but I found it annoying.