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

Bug 425700

Summary: selecting text and pressing Backspace can delete wrong text
Product: [ECD] Orion Reporter: Grant Gayed <grant_gayed>
Component: EditorAssignee: Silenio Quarti <Silenio_Quarti>
Status: RESOLVED FIXED QA Contact:
Severity: major    
Priority: P3 CC: Silenio_Quarti
Version: 5.0   
Target Milestone: 5.0 M2   
Hardware: PC   
OS: All   
Whiteboard:

Description Grant Gayed CLA 2014-01-14 14:32:21 EST
I20140114-1212

- start with text:

var result = [].concat(a);

- select from the ']' to the '(' inclusive and press Backspace (or the similarly-placed Delete key on Mac)
- the resulting text should be "var result = [a);", but instead it's "var result = .concat(a);"
- pressing Delete (or its equivalent on Mac) with these steps instead of pressing Backspace gives the expected behaviour
Comment 1 Silenio Quarti CLA 2014-01-15 13:52:18 EST
Problem with auto complete brackets code. Please the latest.

Fixed
http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=6942f909316a0963751d3ad1b75bd50cff13ece8