home *** CD-ROM | disk | FTP | other *** search
/ PC World 2006 December / PCWorld_2006-12_cd.bin / komunikace / netscape / nsb-install-8-1-2.exe / res / builtin / platformHTMLBindings.xml
Extensible Markup Language  |  2006-09-12  |  14KB  |  228 lines

  1. <?xml version="1.0"?>
  2.  
  3. <bindings id="htmlBindings"
  4.    xmlns="http://www.mozilla.org/xbl"
  5.    xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
  6.  
  7.   <binding id="inputFields">
  8.     <handlers>
  9.     <handler event="keypress" keycode="VK_LEFT" command="cmd_charPrevious"/>
  10.     <handler event="keypress" keycode="VK_RIGHT" command="cmd_charNext"/>
  11.     <handler event="keypress" keycode="VK_LEFT" modifiers="shift"
  12.         command="cmd_selectCharPrevious"/>
  13.     <handler event="keypress" keycode="VK_RIGHT" modifiers="shift"
  14.         command="cmd_selectCharNext"/>
  15.  
  16.     <!-- Cut/copy/paste/undo -->
  17.     <handler event="keypress" key="c" modifiers="accel" command="cmd_copy"/>
  18.     <handler event="keypress" key="x" modifiers="accel" command="cmd_cut"/>
  19.     <handler event="keypress" key="v" modifiers="accel" command="cmd_paste"/>
  20.     <handler event="keypress" key="z" command="cmd_redo" modifiers="accel,shift" />
  21.     <handler event="keypress" key="z" modifiers="accel" command="cmd_undo"/>
  22.  
  23.       <handler event="keypress" key="a" modifiers="accel" command="cmd_selectAll"/>
  24.       <handler event="keypress" keycode="VK_UP" command="cmd_charPrevious"/>
  25.       <handler event="keypress" keycode="VK_DOWN" command="cmd_charNext"/>
  26.       <handler event="keypress" keycode="VK_UP" modifiers="shift" command="cmd_selectCharPrevious"/>
  27.       <handler event="keypress" keycode="VK_DOWN" modifiers="shift" command="cmd_selectCharNext"/>
  28.       <handler event="keypress" keycode="VK_HOME" command="cmd_beginLine"/>
  29.       <handler event="keypress" keycode="VK_END" command="cmd_endLine"/>
  30.       <handler event="keypress" keycode="VK_HOME" modifiers="shift" command="cmd_selectBeginLine"/>
  31.       <handler event="keypress" keycode="VK_END" modifiers="shift" command="cmd_selectEndLine"/>
  32.       <handler event="keypress" keycode="VK_HOME" modifiers="shift,control"
  33.         command="cmd_selectTop"/>
  34.       <handler event="keypress" keycode="VK_END" modifiers="shift,control"
  35.         command="cmd_selectBottom"/>
  36.       <handler event="keypress" keycode="VK_HOME" modifiers="control"
  37.         command="cmd_moveTop"/>
  38.       <handler event="keypress" keycode="VK_END" modifiers="control"
  39.         command="cmd_moveBottom"/>
  40.       <handler event="keypress" keycode="VK_LEFT" modifiers="control"
  41.         command="cmd_wordPrevious"/>
  42.       <handler event="keypress" keycode="VK_RIGHT" modifiers="control"
  43.         command="cmd_wordNext"/>
  44.       <handler event="keypress" keycode="VK_LEFT" modifiers="shift,control"
  45.         command="cmd_selectWordPrevious"/>
  46.       <handler event="keypress" keycode="VK_RIGHT" modifiers="shift,control"
  47.         command="cmd_selectWordNext"/>
  48.       <handler event="keypress" key="y" modifiers="accel"
  49.         command="cmd_redo"/>
  50.  
  51.       <handler event="keypress" keycode="VK_DELETE" modifiers="shift"
  52.         command="cmd_cutOrDelete"/>
  53.       <handler event="keypress" keycode="VK_DELETE" modifiers="control"
  54.         command="cmd_deleteWordForward"/>
  55.       <handler event="keypress" keycode="VK_INSERT" modifiers="control"
  56.         command="cmd_copy"/>
  57.       <handler event="keypress" keycode="VK_INSERT" modifiers="shift"
  58.         command="cmd_paste"/>
  59.       <handler event="keypress" keycode="VK_BACK" modifiers="alt"
  60.         command="cmd_undo"/>
  61.       <handler event="keypress" keycode="VK_BACK" modifiers="control"
  62.         command="cmd_deleteWordBackward"/>
  63.     </handlers>
  64.   </binding>
  65.  
  66.   <binding id="textAreas">
  67.     <handlers>
  68.     <handler event="keypress" keycode="VK_LEFT" command="cmd_charPrevious"/>
  69.     <handler event="keypress" keycode="VK_RIGHT" command="cmd_charNext"/>
  70.     <handler event="keypress" keycode="VK_LEFT" modifiers="shift"
  71.         command="cmd_selectCharPrevious"/>
  72.     <handler event="keypress" keycode="VK_RIGHT" modifiers="shift"
  73.         command="cmd_selectCharNext"/>
  74.     <handler event="keypress" keycode="VK_UP" command="cmd_linePrevious"/>
  75.     <handler event="keypress" keycode="VK_DOWN" command="cmd_lineNext"/>
  76.     <handler event="keypress" keycode="VK_UP" modifiers="shift"
  77.         command="cmd_selectLinePrevious"/>
  78.     <handler event="keypress" keycode="VK_DOWN" modifiers="shift"
  79.         command="cmd_selectLineNext"/>
  80.  
  81.     <!-- Cut/copy/paste/undo -->
  82.     <handler event="keypress" key="c" modifiers="accel" command="cmd_copy"/>
  83.     <handler event="keypress" key="x" modifiers="accel" command="cmd_cut"/>
  84.     <handler event="keypress" key="v" modifiers="accel" command="cmd_paste"/>
  85.     <handler event="keypress" key="z" modifiers="accel" command="cmd_undo"/>
  86.     <handler event="keypress" key="z" command="cmd_redo" modifiers="accel,shift" />
  87.       <handler event="keypress" key="a" modifiers="accel" command="cmd_selectAll"/>
  88.       <handler event="keypress" keycode="VK_HOME" 
  89.         command="cmd_beginLine"/>
  90.       <handler event="keypress" keycode="VK_END" 
  91.         command="cmd_endLine"/>
  92.       <handler event="keypress" keycode="VK_HOME" modifiers="shift" 
  93.         command="cmd_selectBeginLine"/>
  94.       <handler event="keypress" keycode="VK_END" modifiers="shift"
  95.         command="cmd_selectEndLine"/>
  96.       <handler event="keypress" keycode="VK_HOME" modifiers="shift,control"
  97.         command="cmd_selectTop"/>
  98.       <handler event="keypress" keycode="VK_END" modifiers="shift,control"
  99.         command="cmd_selectBottom"/>
  100.       <handler event="keypress" keycode="VK_HOME" modifiers="control"
  101.         command="cmd_moveTop"/>
  102.       <handler event="keypress" keycode="VK_END" modifiers="control" command="cmd_moveBottom"/>
  103.       <handler event="keypress" keycode="VK_LEFT" modifiers="control" command="cmd_wordPrevious"/>
  104.       <handler event="keypress" keycode="VK_RIGHT" modifiers="control" command="cmd_wordNext"/>
  105.       <handler event="keypress" keycode="VK_LEFT" modifiers="shift,control" command="cmd_selectWordPrevious"/>
  106.       <handler event="keypress" keycode="VK_RIGHT" modifiers="shift,control" command="cmd_selectWordNext"/>
  107.       <handler event="keypress" keycode="VK_PAGE_UP" command="cmd_movePageUp"/>
  108.       <handler event="keypress" keycode="VK_PAGE_DOWN" command="cmd_movePageDown"/>
  109.       <handler event="keypress" keycode="VK_PAGE_UP" modifiers="shift" command="cmd_selectPageUp"/>
  110.       <handler event="keypress" keycode="VK_PAGE_DOWN" modifiers="shift" command="cmd_selectPageDown"/>
  111.       <handler event="keypress" key="y" modifiers="accel" command="cmd_redo"/>
  112.  
  113.       <handler event="keypress" keycode="VK_DELETE" modifiers="shift" command="cmd_cutOrDelete"/>
  114.       <handler event="keypress" keycode="VK_DELETE" modifiers="control" command="cmd_deleteWordForward"/>
  115.       <handler event="keypress" keycode="VK_INSERT" modifiers="control" command="cmd_copy"/>
  116.       <handler event="keypress" keycode="VK_INSERT" modifiers="shift" command="cmd_paste"/>
  117.       <handler event="keypress" keycode="VK_BACK" modifiers="alt" command="cmd_undo"/>
  118.       <handler event="keypress" keycode="VK_BACK" modifiers="control"
  119.         command="cmd_deleteWordBackward"/>
  120.      </handlers>
  121.   </binding>
  122.  
  123.   <binding id="browser">
  124.     <handlers>
  125.       <handler event="draggesture">
  126. <!--
  127.          nsDragAndDrop.startDrag(event, contentAreaDNDObserver);
  128. -->
  129.       </handler>
  130.       <handler event="dragover">
  131. <!--
  132.          nsDragAndDrop.dragOver(event, contentAreaDNDObserver);
  133. -->
  134.       </handler>
  135.       <handler event="dragdrop">
  136. <!--
  137.          nsDragAndDrop.drop(event, contentAreaDNDObserver);
  138. -->
  139.       </handler>
  140.  
  141.       <handler event="keypress" key=" " modifiers="shift" command="cmd_scrollPageUp" />
  142.       <handler event="keypress" key=" " command="cmd_scrollPageDown" />
  143.  
  144.       <handler event="keypress" keycode="VK_UP" command="cmd_scrollLineUp" />
  145.       <handler event="keypress" keycode="VK_DOWN" command="cmd_scrollLineDown" />
  146.       <handler event="keypress" keycode="VK_LEFT" command="cmd_scrollLeft" />
  147.       <handler event="keypress" keycode="VK_RIGHT" command="cmd_scrollRight" />
  148.  
  149.       <handler event="keypress" keycode="VK_HOME" command="cmd_scrollTop"/>
  150.       <handler event="keypress" keycode="VK_END" command="cmd_scrollBottom"/>
  151.  
  152.       <handler event="keypress" key="x" command="cmd_cut" modifiers="accel"/>
  153.       <handler event="keypress" key="c" command="cmd_copy" modifiers="accel"/>
  154.       <handler event="keypress" key="v" command="cmd_paste" modifiers="accel"/>
  155.       <handler event="keypress" key="z" command="cmd_undo" modifiers="accel"/>
  156.       <handler event="keypress" key="z" command="cmd_redo" modifiers="accel,shift" />
  157.       <handler event="keypress" key="a" command="cmd_selectAll" modifiers="accel"/>
  158.  
  159.       <handler event="keypress" key="/" command="cmd_findTypeText"/>
  160.       <handler event="keypress" key="'" command="cmd_findTypeLinks"/>
  161.       <handler event="keypress" keycode="VK_PAGE_UP" command="cmd_movePageUp"/>
  162.       <handler event="keypress" keycode="VK_PAGE_DOWN" command="cmd_movePageDown"/>
  163.       <handler event="keypress" keycode="VK_PAGE_UP" modifiers="shift" command="cmd_selectPageUp"/>
  164.       <handler event="keypress" keycode="VK_PAGE_DOWN" modifiers="shift" command="cmd_selectPageDown"/>
  165.  
  166.       <handler event="keypress" keycode="VK_DELETE" modifiers="shift" command="cmd_cut"/>
  167.       <handler event="keypress" keycode="VK_DELETE" modifiers="control" command="cmd_deleteWordForward"/>
  168.       <handler event="keypress" keycode="VK_INSERT" modifiers="control" command="cmd_copy"/>
  169.       <handler event="keypress" keycode="VK_HOME" modifiers="control" command="cmd_scrollTop"/>
  170.       <handler event="keypress" keycode="VK_END" modifiers="control" command="cmd_scrollBottom"/>
  171.       <handler event="keypress" keycode="VK_LEFT" modifiers="control" command="cmd_wordPrevious" />
  172.       <handler event="keypress" keycode="VK_RIGHT" modifiers="control" command="cmd_wordNext" />
  173.       <handler event="keypress" keycode="VK_LEFT" modifiers="control,shift" command="cmd_selectWordPrevious" />
  174.       <handler event="keypress" keycode="VK_RIGHT" modifiers="control,shift" command="cmd_selectWordNext" />
  175.       <handler event="keypress" keycode="VK_LEFT" modifiers="shift" command="cmd_selectCharPrevious" />
  176.       <handler event="keypress" keycode="VK_RIGHT" modifiers="shift" command="cmd_selectCharNext" />
  177.       <handler event="keypress" keycode="VK_HOME" modifiers="shift" command="cmd_selectBeginLine" />
  178.       <handler event="keypress" keycode="VK_END" modifiers="shift" command="cmd_selectEndLine" />
  179.       <handler event="keypress" keycode="VK_UP" modifiers="shift" command="cmd_selectLinePrevious" />
  180.       <handler event="keypress" keycode="VK_DOWN" modifiers="shift" command="cmd_selectLineNext" />
  181.     </handlers>
  182.   </binding>
  183.  
  184.   <binding id="editor">
  185.     <handlers>
  186.       <handler event="keypress" keycode="VK_LEFT" command="cmd_charPrevious"/>
  187.       <handler event="keypress" keycode="VK_RIGHT" command="cmd_charNext"/>
  188.       <handler event="keypress" keycode="VK_LEFT" command="cmd_selectCharPrevious" modifiers="shift"/>
  189.       <handler event="keypress" keycode="VK_RIGHT" command="cmd_selectCharNext" modifiers="shift"/>
  190.       <handler event="keypress" keycode="VK_UP" command="cmd_linePrevious"/>
  191.       <handler event="keypress" keycode="VK_DOWN" command="cmd_lineNext"/>
  192.       <handler event="keypress" keycode="VK_UP" command="cmd_selectLinePrevious" modifiers="shift"/>
  193.       <handler event="keypress" keycode="VK_DOWN" command="cmd_selectLineNext" modifiers="shift"/>
  194.       <handler event="keypress" key="z" command="cmd_undo" modifiers="accel"/>
  195.       <handler event="keypress" key="z" command="cmd_redo" modifiers="accel,shift" />
  196.       <handler event="keypress" key="x" command="cmd_cut" modifiers="accel"/>
  197.       <handler event="keypress" key="c" command="cmd_copy" modifiers="accel"/>
  198.       <handler event="keypress" key="v" command="cmd_paste" modifiers="accel"/>
  199.       <handler event="keypress" key="a" command="cmd_selectAll" modifiers="accel"/>
  200.       <handler event="keypress" keycode="VK_DELETE" modifiers="shift" command="cmd_cutOrDelete"/>
  201.       <handler event="keypress" keycode="VK_DELETE" modifiers="control" command="cmd_deleteWordForward"/>
  202.       <handler event="keypress" keycode="VK_INSERT" modifiers="control" command="cmd_copy"/>
  203.       <handler event="keypress" keycode="VK_INSERT" modifiers="shift" command="cmd_paste"/>
  204.       <handler event="keypress" keycode="VK_BACK" modifiers="alt" command="cmd_undo"/>
  205.       <handler event="keypress" keycode="VK_LEFT" modifiers="accel" command="cmd_wordPrevious"/>
  206.       <handler event="keypress" keycode="VK_RIGHT" modifiers="accel" command="cmd_wordNext"/>
  207.       <handler event="keypress" keycode="VK_LEFT" modifiers="shift,accel" command="cmd_selectWordPrevious"/>
  208.       <handler event="keypress" keycode="VK_RIGHT" modifiers="shift,accel" command="cmd_selectWordNext"/>
  209.       <handler event="keypress" keycode="VK_HOME" modifiers="shift,control" command="cmd_selectTop"/>
  210.       <handler event="keypress" keycode="VK_END" modifiers="shift,control" command="cmd_selectBottom"/>
  211.       <handler event="keypress" keycode="VK_HOME" modifiers="control" command="cmd_moveTop"/>
  212.       <handler event="keypress" keycode="VK_END" modifiers="control" command="cmd_moveBottom"/>
  213.       <handler event="keypress" keycode="VK_BACK" modifiers="control"
  214.         command="cmd_deleteWordBackward"/>
  215.  
  216.       <handler event="keypress" keycode="VK_HOME" command="cmd_beginLine"/>
  217.       <handler event="keypress" keycode="VK_END" command="cmd_endLine"/>
  218.       <handler event="keypress" keycode="VK_HOME" command="cmd_selectBeginLine" modifiers="shift"/>
  219.       <handler event="keypress" keycode="VK_END" command="cmd_selectEndLine" modifiers="shift"/>
  220.       <handler event="keypress" keycode="VK_PAGE_UP" command="cmd_movePageUp"/>
  221.       <handler event="keypress" keycode="VK_PAGE_DOWN" command="cmd_movePageDown"/>
  222.       <handler event="keypress" keycode="VK_PAGE_UP" modifiers="shift" command="cmd_selectPageUp"/>
  223.       <handler event="keypress" keycode="VK_PAGE_DOWN" modifiers="shift" command="cmd_selectPageDown"/>
  224.       <handler event="keypress" key="y" modifiers="accel" command="cmd_redo"/>
  225.     </handlers>
  226.   </binding>
  227. </bindings>
  228.