home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 35 Internet / 35-Internet.zip / phoenx05.zip / phoenix / res / builtin / platformHTMLBindings.xml < prev   
Extensible Markup Language  |  2002-12-10  |  10KB  |  149 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" extends="resource:///res/builtin/htmlBindings.xml#inputFieldsBase">
  8.     <handlers>
  9.       <handler event="keypress" keycode="VK_UP" command="cmd_charPrevious"/>
  10.       <handler event="keypress" keycode="VK_DOWN" command="cmd_charNext"/>
  11.       <handler event="keypress" keycode="VK_UP" modifiers="shift" command="cmd_selectCharPrevious"/>
  12.       <handler event="keypress" keycode="VK_DOWN" modifiers="shift" command="cmd_selectCharNext"/>
  13.       <handler event="keypress" keycode="VK_HOME" command="cmd_beginLine"/>
  14.       <handler event="keypress" keycode="VK_END" command="cmd_endLine"/>
  15.       <handler event="keypress" keycode="VK_HOME" modifiers="shift" command="cmd_selectBeginLine"/>
  16.       <handler event="keypress" keycode="VK_END" modifiers="shift" command="cmd_selectEndLine"/>
  17.       <handler event="keypress" keycode="VK_HOME" modifiers="shift,control"
  18.         command="cmd_selectTop"/>
  19.       <handler event="keypress" keycode="VK_END" modifiers="shift,control"
  20.         command="cmd_selectBottom"/>
  21.       <handler event="keypress" keycode="VK_HOME" modifiers="control"
  22.         command="cmd_moveTop"/>
  23.       <handler event="keypress" keycode="VK_END" modifiers="control"
  24.         command="cmd_moveBottom"/>
  25.       <handler event="keypress" keycode="VK_LEFT" modifiers="control"
  26.         command="cmd_wordPrevious"/>
  27.       <handler event="keypress" keycode="VK_RIGHT" modifiers="control"
  28.         command="cmd_wordNext"/>
  29.       <handler event="keypress" keycode="VK_LEFT" modifiers="shift,control"
  30.         command="cmd_selectWordPrevious"/>
  31.       <handler event="keypress" keycode="VK_RIGHT" modifiers="shift,control"
  32.         command="cmd_selectWordNext"/>
  33.       <handler event="keypress" key="y" modifiers="accel"
  34.         command="cmd_redo"/>
  35.  
  36.       <handler event="keypress" keycode="VK_DELETE" modifiers="shift"
  37.         command="cmd_cutOrDelete"/>
  38.       <handler event="keypress" keycode="VK_DELETE" modifiers="control"
  39.         command="cmd_deleteWordForward"/>
  40.       <handler event="keypress" keycode="VK_INSERT" modifiers="control"
  41.         command="cmd_copy"/>
  42.       <handler event="keypress" keycode="VK_INSERT" modifiers="shift"
  43.         command="cmd_paste"/>
  44.       <handler event="keypress" keycode="VK_BACK" modifiers="alt"
  45.         command="cmd_undo"/>
  46.       <handler event="keypress" keycode="VK_BACK" modifiers="control"
  47.         command="cmd_deleteWordBackward"/>
  48.     </handlers>
  49.   </binding>
  50.  
  51.   <binding id="textAreas" extends="resource:///res/builtin/htmlBindings.xml#textAreasBase">
  52.     <handlers>
  53.       <handler event="keypress" keycode="VK_HOME" 
  54.         command="cmd_beginLine"/>
  55.       <handler event="keypress" keycode="VK_END" 
  56.         command="cmd_endLine"/>
  57.       <handler event="keypress" keycode="VK_HOME" modifiers="shift" 
  58.         command="cmd_selectBeginLine"/>
  59.       <handler event="keypress" keycode="VK_END" modifiers="shift"
  60.         command="cmd_selectEndLine"/>
  61.       <handler event="keypress" keycode="VK_HOME" modifiers="shift,control"
  62.         command="cmd_selectTop"/>
  63.       <handler event="keypress" keycode="VK_END" modifiers="shift,control"
  64.         command="cmd_selectBottom"/>
  65.       <handler event="keypress" keycode="VK_HOME" modifiers="control"
  66.         command="cmd_moveTop"/>
  67.       <handler event="keypress" keycode="VK_END" modifiers="control" command="cmd_moveBottom"/>
  68.       <handler event="keypress" keycode="VK_LEFT" modifiers="control" command="cmd_wordPrevious"/>
  69.       <handler event="keypress" keycode="VK_RIGHT" modifiers="control" command="cmd_wordNext"/>
  70.       <handler event="keypress" keycode="VK_LEFT" modifiers="shift,control" command="cmd_selectWordPrevious"/>
  71.       <handler event="keypress" keycode="VK_RIGHT" modifiers="shift,control" command="cmd_selectWordNext"/>
  72.       <handler event="keypress" keycode="VK_PAGE_UP" command="cmd_movePageUp"/>
  73.       <handler event="keypress" keycode="VK_PAGE_DOWN" command="cmd_movePageDown"/>
  74.       <handler event="keypress" keycode="VK_PAGE_UP" modifiers="shift" command="cmd_selectPageUp"/>
  75.       <handler event="keypress" keycode="VK_PAGE_DOWN" modifiers="shift" command="cmd_selectPageDown"/>
  76.       <handler event="keypress" key="y" modifiers="accel" command="cmd_redo"/>
  77.  
  78.       <handler event="keypress" keycode="VK_DELETE" modifiers="shift" command="cmd_cutOrDelete"/>
  79.       <handler event="keypress" keycode="VK_DELETE" modifiers="control" command="cmd_deleteWordForward"/>
  80.       <handler event="keypress" keycode="VK_INSERT" modifiers="control" command="cmd_copy"/>
  81.       <handler event="keypress" keycode="VK_INSERT" modifiers="shift" command="cmd_paste"/>
  82.       <handler event="keypress" keycode="VK_BACK" modifiers="alt" command="cmd_undo"/>
  83.       <handler event="keypress" keycode="VK_BACK" modifiers="control"
  84.         command="cmd_deleteWordBackward"/>
  85.      </handlers>
  86.   </binding>
  87.  
  88.   <binding id="browser">
  89.     <handlers>
  90.       <handler event="keypress" keycode="VK_PAGE_UP" command="cmd_movePageUp"/>
  91.       <handler event="keypress" keycode="VK_PAGE_DOWN" command="cmd_movePageDown"/>
  92.       <handler event="keypress" keycode="VK_PAGE_UP" modifiers="shift" command="cmd_selectPageUp"/>
  93.       <handler event="keypress" keycode="VK_PAGE_DOWN" modifiers="shift" command="cmd_selectPageDown"/>
  94.  
  95.       <handler event="keypress" keycode="VK_DELETE" modifiers="shift" command="cmd_cut"/>
  96.       <handler event="keypress" keycode="VK_DELETE" modifiers="control" command="cmd_deleteWordForward"/>
  97.       <handler event="keypress" keycode="VK_INSERT" modifiers="control" command="cmd_copy"/>
  98.       <handler event="keypress" keycode="VK_INSERT" modifiers="shift" command="cmd_paste"/>
  99.       <handler event="keypress" keycode="VK_HOME" modifiers="control" command="cmd_scrollTop"/>
  100.       <handler event="keypress" keycode="VK_END" modifiers="control" command="cmd_scrollBottom"/>
  101.       <handler event="keypress" keycode="VK_LEFT" modifiers="control" command="cmd_wordPrevious" />
  102.       <handler event="keypress" keycode="VK_RIGHT" modifiers="control" command="cmd_wordNext" />
  103.       <handler event="keypress" keycode="VK_LEFT" modifiers="control,shift" command="cmd_selectWordPrevious" />
  104.       <handler event="keypress" keycode="VK_RIGHT" modifiers="control,shift" command="cmd_selectWordNext" />
  105.       <handler event="keypress" keycode="VK_LEFT" modifiers="shift" command="cmd_selectCharPrevious" />
  106.       <handler event="keypress" keycode="VK_RIGHT" modifiers="shift" command="cmd_selectCharNext" />
  107.       <handler event="keypress" keycode="VK_HOME" modifiers="shift" command="cmd_selectBeginLine" />
  108.       <handler event="keypress" keycode="VK_END" modifiers="shift" command="cmd_selectEndLine" />
  109.       <handler event="keypress" keycode="VK_UP" modifiers="shift" command="cmd_selectLinePrevious" />
  110.       <handler event="keypress" keycode="VK_DOWN" modifiers="shift" command="cmd_selectLineNext" />
  111.  
  112.       <!-- Supporting IE forward and back accelerators out of courtesy
  113.            to transitioning IE users -->
  114.       <handler event="keypress" keycode="VK_BACK" command="cmd_browserBack"/>
  115.       <handler event="keypress" keycode="VK_BACK" modifiers="shift" command="cmd_browserForward" />
  116.     </handlers>
  117.   </binding>
  118.  
  119.   <binding id="editor">
  120.     <handlers>
  121.       <handler event="keypress" keycode="VK_DELETE" modifiers="shift" command="cmd_cutOrDelete"/>
  122.       <handler event="keypress" keycode="VK_DELETE" modifiers="control" command="cmd_deleteWordForward"/>
  123.       <handler event="keypress" keycode="VK_INSERT" modifiers="control" command="cmd_copy"/>
  124.       <handler event="keypress" keycode="VK_INSERT" modifiers="shift" command="cmd_paste"/>
  125.       <handler event="keypress" keycode="VK_BACK" modifiers="alt" command="cmd_undo"/>
  126.       <handler event="keypress" keycode="VK_LEFT" modifiers="accel" command="cmd_wordPrevious"/>
  127.       <handler event="keypress" keycode="VK_RIGHT" modifiers="accel" command="cmd_wordNext"/>
  128.       <handler event="keypress" keycode="VK_LEFT" modifiers="shift,accel" command="cmd_selectWordPrevious"/>
  129.       <handler event="keypress" keycode="VK_RIGHT" modifiers="shift,accel" command="cmd_selectWordNext"/>
  130.       <handler event="keypress" keycode="VK_HOME" modifiers="shift,control" command="cmd_selectTop"/>
  131.       <handler event="keypress" keycode="VK_END" modifiers="shift,control" command="cmd_selectBottom"/>
  132.       <handler event="keypress" keycode="VK_HOME" modifiers="control" command="cmd_moveTop"/>
  133.       <handler event="keypress" keycode="VK_END" modifiers="control" command="cmd_moveBottom"/>
  134.       <handler event="keypress" keycode="VK_BACK" modifiers="control"
  135.         command="cmd_deleteWordBackward"/>
  136.  
  137.       <handler event="keypress" keycode="VK_HOME" command="cmd_beginLine"/>
  138.       <handler event="keypress" keycode="VK_END" command="cmd_endLine"/>
  139.       <handler event="keypress" keycode="VK_HOME" command="cmd_selectBeginLine" modifiers="shift"/>
  140.       <handler event="keypress" keycode="VK_END" command="cmd_selectEndLine" modifiers="shift"/>
  141.       <handler event="keypress" keycode="VK_PAGE_UP" command="cmd_movePageUp"/>
  142.       <handler event="keypress" keycode="VK_PAGE_DOWN" command="cmd_movePageDown"/>
  143.       <handler event="keypress" keycode="VK_PAGE_UP" modifiers="shift" command="cmd_selectPageUp"/>
  144.       <handler event="keypress" keycode="VK_PAGE_DOWN" modifiers="shift" command="cmd_selectPageDown"/>
  145.       <handler event="keypress" key="y" modifiers="accel" command="cmd_redo"/>
  146.     </handlers>
  147.   </binding>
  148. </bindings>
  149.