From 2e3390880b1a0783982ec13cdb27419223576d33 Mon Sep 17 00:00:00 2001 From: "cbiesinger%web.de" Date: Sun, 3 Oct 2004 16:31:15 +0000 Subject: [PATCH] Bug 97434 (port to toolkit) Some Windows keyboard behaviours missing from trees r=mconnor --- toolkit/content/widgets/tree.xml | 152 +++++++++++-------------------- 1 file changed, 55 insertions(+), 97 deletions(-) diff --git a/toolkit/content/widgets/tree.xml b/toolkit/content/widgets/tree.xml index 68674ea9921..dbb15ac6762 100644 --- a/toolkit/content/widgets/tree.xml +++ b/toolkit/content/widgets/tree.xml @@ -259,7 +259,7 @@ = 0) { this.view.selection.select(parentIndex); @@ -284,27 +284,42 @@ } ]]> - + - + - + - + - + - - - - - - - + - + - + - + 0) { - var p = this.treeBoxObject.getPageLength(); - if (f - p >= 0) - i = c - p; - else - i = c - f; - this.treeBoxObject.scrollByPages(-1); - } - this.currentIndex = i; - ]]> - - - - - - - + - + - + - - - - - -