Shortcut Actions in Text Mode
Oxygen XML Editor includes numerous shortcut actions to help you edit content in the Text editing mode.
Changing the Font Size (Zoom)
- Increase editor font (Ctrl + NumPad+ (Command + NumPad+ on macOS) or Ctrl + MouseWheelForward (Windows/Linux)
- Increases the font size (zooms in) with one point for each execution of the
action.Note:For macOS, if you activate the Enable mouse-wheel zooming option in the Editor preferences page, you can use Command + MouseWheelForward to increase the font size (zoom in). It is disabled by default due to the way inertia affects the mouse wheel on macOS.
- Decrease editor font (Ctrl + NumPad- (Command + NumPad- on macOS) or Ctrl + MouseWheelBackwards (Windows/Linux)
- Decreases the font size (zooms out) with one point for each execution of the
action.Note:For macOS, if you activate the Enable mouse-wheel zooming option in the Editor preferences page, you can use Command + MouseWheelBackwards to decrease the font size (zoom out). It is disabled by default due to the way inertia affects the mouse wheel on macOS.
- Normal editor font (Ctrl + 0 (Command + 0 on macOS))
- Resets the font size to the value of the editor font set in the Fonts preferences page.
Undo/Redo Actions
The typical undo and redo actions are available with shortcuts or in the Edit menu:
Undo (Ctrl + Z (Command + Z on
macOS))- Reverses a maximum of 200 editing actions (configurable with the Undo history size option in the
Editor preferences page) to return to the preceding
state. Note:Complex operations such as Replace All or Indent selection count as single undo events.
Redo (Ctrl + Y (Command + Shift
+ Z on macOS, Ctrl + Shift + Z on Linux/Unix))- Recreates a maximum of 100 editing actions that were undone by the Undo function.
Copy and Paste Actions
The typical copying and pasting actions are available with shortcuts or in the contextual menu (or the Edit menu):
Cut (Ctrl + X (Command + X on
macOS))- Removes the currently selected content from the document and places it in the clipboard.
Copy (Ctrl + C (Command + C on
macOS))-
Places a copy of the currently selected content in the clipboard.
The clipboard contains the precise node structure that is preserved when pasting to another location within the same document or to another document opened in the Author mode. The copied content contains an HTML flavor that attempts to convert the copied structure to plain HTML, which can be useful for preserving the styles when pasting into editors such as MS Word.
- Copy as XML
- Copies the selection as a string that contains the structured XML content.
- Copy as Markdown
- Copies the selection as a string that contains its Markdown-converted equivalent.
Paste (Ctrl + V (Command + V on
macOS))- Inserts the current clipboard content into the document at the cursor position.
- Select All (Ctrl + A (Command + A on macOS))
- Selects the entire content of the current document.
Moving XML Nodes
- Ctrl + Alt + UpArrow (Command + Option + UpArrow on macOS)
- Moves the node up one line.
- Ctrl + Alt + DownArrow (Command + Option + DownArrow on macOS)
- Moves the node down one line.
- The mechanism is designed to work without a selection. If you use these actions on a selection of content, it moves the entire selection. To make this mechanism work as intended, simply position the cursor somewhere on the line that you want to move.
- A start tag must be the first text occurrence on the line where the cursor is positioned.
- On the line where the element ends, only whitespaces are allowed after the end tag.
Miscellaneous Shortcut Actions in Text Mode
Oxygen XML Editor also includes the following other miscellaneous shortcut actions in Text mode:
- Ctrl + Delete (Command + Delete on macOS)
- Deletes the next word.
- Ctrl + Backspace (Command + Backspace on macOS)
- Deletes the previous word.
- Ctrl + W (Command + W on macOS)
- Cuts the previous word.
- Ctrl + K (Command + K on macOS)
- Cuts to end of line.
- Ctrl + Single-Click (Command + Single-Click on macOS)
- Use this shortcut to open any of the following:
- Any absolute URL (URLs that have a protocol), regardless of their location in the document.
- URI attributes such as:
@schemaLocation,@noNamespaceSchemaLocation,@hrefand others. - Open the target for DITA references (such as a
@conref,@conkeyref,@keyref, and more). - Processing instructions used for associating resources, xml-models, xml-stylesheets.
- Ctrl + Shift + Y (Command + Shift + Y on macOS) ()
- Enables or disables line wrapping. When enabled, if text exceeds the width of the displayed editor, content is wrapped so that you do not have to scroll horizontally.