http://www.xmlmind.com/xmleditor Contents APPENDIX B: Whitespace processing APPENDIX D: Enhancements and bug fixes APPENDIX D: Enhancements and bug fixes

8 APPENDIX C: Keyboard shortcuts

Keyboard shortcuts invoking menu commands (ex. Ctrl-X that invokes Edit->Cut) are not listed here.

Mouse click Description
Press-1 move caret and begin text selection;
If there is no text close to the area
clicked upon, select the element or
#PCDATA found there
Drag-1 extend text selection
Release-1 end text selection
Shift-click-1 extend text selection to the mouse click location
Ctrl-click-1 select element or #PCDATA clicked upon
Double-click-1 select word (1)
Triple-click-1 select the whole #PCDATA
Key stroke Description
Up move caret to previous line (2)
Shift-Up extend text selection to previous line
Ctrl-Up select enclosing #PCDATA if any; select parent
element otherwise
Ctrl-Shift-Up select the preceeding sibling of the
selected element
Down move caret to next line
Shift-Down extend text selection to next line
Ctrl-Down select previously selected child element if
any;
if no child element was previously selected,
select first child if any;
cancel element selection otherwise
Ctrl-Shift-Down select the following sibling of the
selected element
Left move caret to previous char.
Shift-Left extend text selection to previous char.
Ctrl-Left move caret to previous word
Ctrl-Shift-Left extend text selection to previous word
Right move caret to next char.
Shift-Right extend text selection to next char.
Ctrl-Right move caret to next word
Ctrl-Shift-Right extend text selection to next word
Tab insert a tab char. if the view of the current element
accepts such char. (ex. if the value of
white-space CSS property is pre);
move caret to next #PCDATA otherwise
Ctrl-Tab move caret to next #PCDATA
Shift-Tab
Ctrl-Shift-Tab
move caret to previous #PCDATA
Home move caret to the beginning of #PCDATA
Shift-Home extend text selection to beginning of #PCDATA
End move caret to the end of #PCDATA
Shift-End extend text selection to the end of #PCDATA
BackSpace delete previous char.
Delete delete next char.
Escape cancel text or element selection
Enter insert a newline char. if the view of the current
element accepts such char. (ex. if the value of
white-space CSS property is pre);
split the selected element in two parts
(if allowed) otherwise
Ctrl-Space insert a non breaking space char. ( )
Insert insert after the selected element an empty
#PCDATA (if allowed)
Shift-Insert insert before the selected element an empty
#PCDATA (if allowed)
Ctrl-Insert insert after the selected element an element
of the same type (if allowed)
Ctrl-Shift-Insert insert before the selected element an element
of the same type (if allowed)

Notes:

  1. On Mac, keyboard shortcuts use the Command key rather than the Control key.
  2. Words are simply sequences of characters separated by white spaces.
  3. XXE has no concept of lines. For example, for XXE, the ``previous line'' is simply the view of a #PCDATA which precedes (in the order of the document) the #PCDATA containing the caret. This ``previous line'' view is chosen to be the nearest one above the view of the #PCDATA containing the caret.