| Summary: | [editor][chrome] Shift-Tab in editor loses editor focus | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | John Arthorne <john.arthorne> |
| Component: | Client | Assignee: | Silenio Quarti <Silenio_Quarti> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | eclipse.felipe, Silenio_Quarti |
| Version: | 0.2 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
John Arthorne
I have not been able to reproduce this problem. So far it only seems to happen in HTML files. I see this exception in the console when it happens: Uncaught Error: INDEX_SIZE_ERR: DOM Exception 1 Editor._setDOMSelectioneditor.js:3715 Editor._updateDOMSelectioneditor.js:3956 Editor._setSelectioneditor.js:3781 Editor.setSelectioneditor.js:1429 editor.setAction.isMoveFromLastLineeditorContainer.js:830 Editor._doActioneditor.js:2010 Editor._handleKeyDowneditor.js:1654 Editor._hookEvents._handlers.handlereditor.js:3281 Here are steps that produce it for me: Start with an html file like this: <html> <head> </head> <body> </body> </html> - Ensure the outline view is expanded - With cursor at start of line 3, hit Shift+Down twice to select two lines - Hit Tab to indent selection - Move cursor back to start of line 3 (without holding Shift, so selection is lost) - Hit Shift+Down twice - Hit Shift+Tab to remove indent -> The indentation is changed, but now focus is in the outline. The above error appears in the console. I still cannot reproduce it. Which chrome version and os? Chrome 10.0.648.133 Windows 7 John, I'm also unable to reproduce this problem. We released a bunch of code today that might have fixed this problem, please try again. If the bug is still happening to you please come see me or Silenio. It works with latest. |