Commit 480ebb8d authored by brade%netscape.com's avatar brade%netscape.com
Browse files

don't blindly eat modified tab events (except shift and no modifier); bug 99602 (r=cmanske; sr=kin)

parent 0ebdf60f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -267,6 +267,9 @@ nsTextEditorKeyListener::KeyPress(nsIDOMEvent* aKeyEvent)
            (flags & nsIPlaintextEditor::eEditorWidgetMask))
          return NS_OK; // let it be used for focus switching

        if (isAnyModifierKeyButShift)
          return NS_OK;

        // else we insert the tab straight through
        textEditor->HandleKeyPress(keyEvent);
        ScrollSelectionIntoView(mEditor);