mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-27 12:50:09 +00:00

editor/base/nsEditorEventListeners.cpp editor/base/nsEditorEventListeners.h - Added code to scroll the selection into view after processing key events. - Commented out the hack that redraws the entire view when the focus is gained and lost. Replaced the hack code with calls to RepaintSelection(). layout/base/public/nsIFrameSelection.h layout/base/public/nsIPresShell.h layout/html/base/src/nsPresShell.cpp - Added ScrollSelectionIntoView() and RepaintSelection() methods. layout/base/src/nsRangeList.cpp - Added implementation for ScrollSelectionIntoView() and RepaintSelection(). - Check for NULL primary frame in GetFocusNodeRect() to fix bug #12793.