Community
Participate
Working Groups
I20110310 - Select multiple indented lines of text in the editor. - Hit Shift+Tab to remove indent -> Focus has shifted to the outline view. I have to click back in the editor to gain focus to continue working in the editor. It looks like the browser is capturing the keypress and shifting focus out of the editor.
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.