Bug 373240 Uppercase the VK_* bits for consistency with the rest of the codebase (Dv1, layout) p=Serge Gautherie <sgautherie.bz@free.fr>,r/sr=dbaron

This commit is contained in:
bugzilla%standard8.demon.co.uk 2007-03-19 20:00:12 +00:00
Родитель 3e59ebab6b
Коммит 6272626282
1 изменённых файлов: 26 добавлений и 25 удалений

Просмотреть файл

@ -260,7 +260,7 @@
<handler event="focus" action="this.treeBoxObject.focused = true;"/>
<handler event="blur" action="this.treeBoxObject.focused = false;"/>
<handler event="keypress" keycode="vk_up">
<handler event="keypress" keycode="VK_UP">
<![CDATA[
event.preventDefault();
var c = this.currentIndex;
@ -277,7 +277,7 @@
this.onchange();
]]>
</handler>
<handler event="keypress" keycode="vk_down">
<handler event="keypress" keycode="VK_DOWN">
<![CDATA[
event.preventDefault();
var c = this.currentIndex;
@ -295,7 +295,7 @@
this.onchange();
]]>
</handler>
<handler event="keypress" keycode="vk_up" modifiers="shift">
<handler event="keypress" keycode="VK_UP" modifiers="shift">
<![CDATA[
event.preventDefault();
if (this.singleSelection)
@ -312,7 +312,8 @@
if (c == this.selectionTail) {
if (this.selectionHead < this.selectionTail) {
selection.toggleSelect(c);
select.setOptionsSelectedByIndex(selIndex, selIndex, selection.isSelected(c),
select.setOptionsSelectedByIndex(selIndex, selIndex,
selection.isSelected(c),
false, false, false);
this.currentIndex = i;
}
@ -334,7 +335,7 @@
this.onchange();
]]>
</handler>
<handler event="keypress" keycode="vk_down" modifiers="shift">
<handler event="keypress" keycode="VK_DOWN" modifiers="shift">
<![CDATA[
event.preventDefault();
if (this.singleSelection)
@ -373,7 +374,7 @@
this.onchange();
]]>
</handler>
<handler event="keypress" keycode="vk_up" modifiers="control">
<handler event="keypress" keycode="VK_UP" modifiers="control">
<![CDATA[
event.preventDefault();
var c = this.currentIndex;
@ -384,7 +385,7 @@
this.treeBoxObject.ensureRowIsVisible(i);
]]>
</handler>
<handler event="keypress" keycode="vk_down" modifiers="control">
<handler event="keypress" keycode="VK_DOWN" modifiers="control">
<![CDATA[
event.preventDefault();
var c = this.currentIndex;
@ -396,7 +397,7 @@
this.treeBoxObject.ensureRowIsVisible(i);
]]>
</handler>
<handler event="keypress" keycode="vk_page_up">
<handler event="keypress" keycode="VK_PAGE_UP">
<![CDATA[
event.preventDefault();
var c = this.currentIndex;
@ -414,7 +415,7 @@
this.onchange();
]]>
</handler>
<handler event="keypress" keycode="vk_page_down">
<handler event="keypress" keycode="VK_PAGE_DOWN">
<![CDATA[
event.preventDefault();
var c = this.currentIndex;
@ -432,7 +433,7 @@
this.onchange();
]]>
</handler>
<handler event="keypress" keycode="vk_page_up" modifiers="shift">
<handler event="keypress" keycode="VK_PAGE_UP" modifiers="shift">
<![CDATA[
event.preventDefault();
if (this.singleSelection)
@ -489,7 +490,7 @@
this.onchange();
]]>
</handler>
<handler event="keypress" keycode="vk_page_down" modifiers="shift">
<handler event="keypress" keycode="VK_PAGE_DOWN" modifiers="shift">
<![CDATA[
event.preventDefault();
if (this.singleSelection)
@ -544,7 +545,7 @@
this.onchange();
]]>
</handler>
<handler event="keypress" keycode="vk_page_up" modifiers="control">
<handler event="keypress" keycode="VK_PAGE_UP" modifiers="control">
<![CDATA[
event.preventDefault();
var c = this.currentIndex;
@ -555,7 +556,7 @@
this.currentIndex = this.computePageUpIndex(c);
]]>
</handler>
<handler event="keypress" keycode="vk_page_down" modifiers="control">
<handler event="keypress" keycode="VK_PAGE_DOWN" modifiers="control">
<![CDATA[
event.preventDefault();
var c = this.currentIndex;
@ -567,7 +568,7 @@
this.currentIndex = this.computePageDownIndex(c);
]]>
</handler>
<handler event="keypress" keycode="vk_home">
<handler event="keypress" keycode="VK_HOME">
<![CDATA[
event.preventDefault();
@ -587,7 +588,7 @@
this.onchange();
]]>
</handler>
<handler event="keypress" keycode="vk_end">
<handler event="keypress" keycode="VK_END">
<![CDATA[
event.preventDefault();
var box = this.treeBoxObject;
@ -604,7 +605,7 @@
this.onchange();
]]>
</handler>
<handler event="keypress" keycode="vk_home" modifiers="shift">
<handler event="keypress" keycode="VK_HOME" modifiers="shift">
<![CDATA[
event.preventDefault();
if (this.singleSelection)
@ -631,7 +632,7 @@
this.onchange();
]]>
</handler>
<handler event="keypress" keycode="vk_end" modifiers="shift">
<handler event="keypress" keycode="VK_END" modifiers="shift">
<![CDATA[
event.preventDefault();
if (this.singleSelection)
@ -657,7 +658,7 @@
this.onchange();
]]>
</handler>
<handler event="keypress" keycode="vk_home" modifiers="control">
<handler event="keypress" keycode="VK_HOME" modifiers="control">
<![CDATA[
event.preventDefault();
var firstOptionIndex = this.firstSelectableOption;
@ -667,7 +668,7 @@
this.treeBoxObject.ensureRowIsVisible(firstOptionIndex);
]]>
</handler>
<handler event="keypress" keycode="vk_end" modifiers="control">
<handler event="keypress" keycode="VK_END" modifiers="control">
<![CDATA[
event.preventDefault();
var lastOptionIndex = this.lastSelectableOption;