Working on input field conversion to XBL.

This commit is contained in:
hyatt%netscape.com 2000-01-27 08:23:04 +00:00
Родитель ac565042b5
Коммит 6d238e1056
4 изменённых файлов: 63 добавлений и 16 удалений

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

@ -7,37 +7,38 @@
<binding name="inputFieldsBase">
<handlers>
<handler type="keypress" id="key_home" keycode="VK_HOME" shift="false" control="false"
<handler type="keypress" id="key_home" keycode="VK_HOME"
command="cmd_beginLine"/>
<handler type="keypress" id="key_end" keycode="VK_END" shift="false" control="false"
<handler type="keypress" id="key_end" keycode="VK_END"
command="cmd_endLine"/>
<handler type="keypress" id="key_left" keycode="VK_LEFT" shift="false" control="false"
<handler type="keypress" id="key_left" keycode="VK_LEFT"
command="cmd_charPrevious"/>
<handler type="keypress" id="key_right" keycode="VK_RIGHT" shift="false" control="false"
<handler type="keypress" id="key_right" keycode="VK_RIGHT"
command="cmd_charNext"/>
<handler type="keypress" id="key_homeshift" keycode="VK_HOME" shift="true" control="false"
<handler type="keypress" id="key_pageup" keycode="VK_PAGE_UP"
command="cmd_scrollPageUp"/>
<handler type="keypress" id="key_pagedown" keycode="VK_PAGE_DOWN"
command="cmd_scrollPageDown"/>
<handler type="keypress" id="key_homeshift" keycode="VK_HOME" shift="true"
command="cmd_selectBeginLine"/>
<handler type="keypress" id="key_endshift" keycode="VK_END" shift="true" control="false"
<handler type="keypress" id="key_endshift" keycode="VK_END" shift="true"
command="cmd_selectEndLine"/>
<handler type="keypress" id="key_leftshift" keycode="VK_LEFT" shift="true" control="false"
<handler type="keypress" id="key_leftshift" keycode="VK_LEFT" shift="true"
command="cmd_selectCharPrevious"/>
<handler type="keypress" id="key_rightshift" keycode="VK_RIGHT" shift="true" control="false"
<handler type="keypress" id="key_rightshift" keycode="VK_RIGHT" shift="true"
command="cmd_selectCharNext"/>
<handler type="keypress" id="key_leftcontrol" keycode="VK_LEFT" shift="false" control="true"
<handler type="keypress" id="key_leftcontrol" keycode="VK_LEFT" control="true"
command="cmd_wordPrevious"/>
<handler type="keypress" id="key_rightcontrol" keycode="VK_RIGHT" shift="false" control="true"
<handler type="keypress" id="key_rightcontrol" keycode="VK_RIGHT" control="true"
command="cmd_wordNext"/>
<handler type="keypress" id="key_leftshiftcontrol" keycode="VK_LEFT" shift="true" control="true"
command="cmd_wordPrevious"/>
<handler type="keypress" id="key_rightshiftcontrol" keycode="VK_RIGHT" shift="true" control="true"
command="cmd_wordNext"/>
<handler type="keypress" id="key_pageup" keycode="VK_PAGE_UP" shift="false" control="false"
command="cmd_scrollPageUp"/>
<handler type="keypress" id="key_pagedown" keycode="VK_PAGE_DOWN" shift="false" control="false"
command="cmd_scrollPageDown"/>
<handler type="keypress" id="key_undo" key="z" primary="true" shift="false"
<handler type="keypress" id="key_undo" key="z" primary="true"
command="cmd_undo"/>
<handler type="keypress" id="key_redo" key="y" primary="true" shift="false"
<handler type="keypress" id="key_redo" key="y" primary="true"
command="cmd_redo"/>
</handlers>

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

@ -21,6 +21,8 @@
DEPTH=..\..\..\..
DIRS=win
include <$(DEPTH)\config\rules.mak>
DISTBROWSER=$(DIST)\bin\chrome\global\skin\default

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

@ -0,0 +1,32 @@
#!nmake
#
# The contents of this file are subject to the Netscape Public
# License Version 1.1 (the "License"); you may not use this file
# except in compliance with the License. You may obtain a copy of
# the License at http://www.mozilla.org/NPL/
#
# Software distributed under the License is distributed on an "AS
# IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
# implied. See the License for the specific language governing
# rights and limitations under the License.
#
# The Original Code is mozilla.org code.
#
# The Initial Developer of the Original Code is Netscape
# Communications Corporation. Portions created by Netscape are
# Copyright (C) 1998 Netscape Communications Corporation. All
# Rights Reserved.
#
# Contributor(s):
DEPTH=..\..\..\..\..
include <$(DEPTH)\config\rules.mak>
DISTBROWSER=$(DIST)\bin\chrome
install::
$(MAKE_INSTALL) platformHTMLBindings.xml $(DISTBROWSER)
clobber::
rm -f $(DIST)\bin\chrome\global\content\default\*.*

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

@ -0,0 +1,12 @@
<?xml version="1.0"?>
<bindings id="htmlBindings"
xmlns="http://www.mozilla.org/xbl"
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<binding name="inputFields" extends="resource:/chrome/htmlBindings.xml#inputFieldsBase">
<handlers>
</handlers>
</binding>
</bindings>