![]() |
![]() |
![]() |
![]() |
![]() |
Tips:
(The tree view has been created to be able to open and edit documents for which a style sheet has not yet been written.)
This is often handy in the following situation: you have typed some text in a paragraph then inserted a strong for which you have typed text.
Then how to quickly continue typing plain text after the strong? The answer is: use the Insert key of your keypad.
Also note that Shift-Insert inserts a #text node before explicity selected node or implicitly selected element.
(On the Mac, there is no Insert key, so use the F1 function key instead.)
Example: you want to quickly add a section after current section. Select the section using the node path bar and type Ctrl-Insert.
Also note that Ctrl+Shift-Insert inserts before explicity or implicitly selected element, an element of the same type.
Also note that if you Shift-click in the node path bar on the name of the element, this selects this element and then creates a new element of same type before this element.
Remembering these two tips is easy, the node path bar has a contextual menu which is displayed when you click using the right mouse button.
This text field suppports auto-completion. User preferences related to auto-completion can be changed using the Options dialog box, Edit section.
Both the name and value fields support auto-completion. However auto-completion in the value field only works for attributes having the following types: any enumerated type, ID, IDREF, IDREFS. This auto-completion feature can be configured using the Options dialog box, Edit section.
When a file is dropped on an image, a pre-filled, specialized dialog box is displayed to let the user specify exactly what he wants to do with the image file.
For example, if the image file is referenced in attribute fileref of element imagedata (like in screenshot below), the user is given the choice between
The same dialog box can be opened without having to drop a file on an image displayed in the document view: simply double-click on the image.
This functionality has been implemented mainly to allow users to upload images to the remote site when they edit documents located on a FTP or WebDAV server, but it is also handy when working on the local file system.
Note that unlike Edit|Copy which copies characters as well as nodes, selecting text this way just copies characters to the system selection.
This functionality is disabled by default. To enable it, please use the Options dialog box, Edit section and check "Clicking with middle button pastes system selection".
Use keyboard to select a node range:
Note Esc Right Arrow (and Esc Left Arrow) will first select element containing caret if there is no explicit node selection, therefore typing Esc Right Arrow several times is often the quickest way to select a node range.
By default these interactive margins are absent. To enable them, you need to use Options|Options, Edit section and check the "Add interactive margins to styled views" toggle. After doing this, you'll also need to reload any opened document.
Example, using interactive margins to select an ul in an XHTML document:
Move the mouse in the gray margin found at the left and at the right of the document view. Here you'll notice that the cursor changes its shape. Move the cursor in front of any list item and click once. Mouse clicks in the left or in the right margin selects the ``block'' (paragraph, row, row group, table) which is in front of the click. In this case, this selects the li. Click again without moving the mouse and this will select the parent of the li: the ul. Clicking again without moving the mouse would select the parent of the ul: the body, and so on. (Do not click several times too fast otherwise the editor will think you are double-clicking or triple-clicking and therefore, selecting elements that way would not work.)
Note: Because this way of selecting blocks is so easy to use, it tends to ``cannibalize'' the other ways of selecting nodes, especially the implicit element selection. Therefore we do not recommend turning on this option.
Command | Keyboard shortcut | Trick to remember the keyboard shortcut |
Undo | Ctrl-Z | Standard shortcut |
Redo | Ctrl-Y | Standard shortcut |
Repeat | Ctrl-A | A like Again |
Cut | Ctrl-X | Standard shortcut |
Copy | Ctrl-C | Standard shortcut |
Paste | Ctrl-V | Standard shortcut |
Paste Before | Ctrl-U | Ctrl-V means Paste and U is before V |
Paste After | Ctrl-W | Ctrl-V means Paste and W is after V |
Delete | Ctrl-K | K like Kill |
Replace | Ctrl-R | R like Replace |
Insert | Ctrl-I | I like Insert |
Insert Before | Ctrl-H (Cmd-B on Mac) |
Ctrl-I means Insert and H is before I |
Insert After | Ctrl-J | Ctrl-I means Insert and J is after I |
Convert | Ctrl-T | T like Transform |
Wrap | Ctrl-Shift-T | T like Transform (variant of Convert) |
Split | Esc Enter | A paragraph-specific form of Split is often bound to the Enter keystroke |
Join | Esc Backspace | A paragraph-specific form of Join is often bound to the Backspace keystroke |
Search | Ctrl-F | Standard shortcut F like Find |
Replace | Ctrl-M | M like Modifiy |
Find Next | Ctrl-G | Standard shortcut |
On Mac (where the use of a 2-button mouse with a scroll wheel is very well supported and highly recommended):
Keyboard shortcut | Command |
Esc l (means type Esc then type l) |
Converts selected text to lower case. If no text is selected, operates on word containing caret. |
Esc u | Converts selected text to upper case. If no text is selected, operates on word containing caret. |
Esc c (means type Esc then type c) |
Changes the first letter of all words found in selected text to upper case. If no text is selected, operates on word containing caret. |
Esc d | Deletes characters from caret to end of word. |
Esc f, Esc b | Identical to "Ctrl-Right" and
"Ctrl-Left" except that these bindings are more handy to use when mixed with "Esc d", "Esc c", "Esc u", etc. |
Esc t | Swaps the character before the caret with the character after the caret. Useful if you are a bit dyslexic. |
Esc ! | Inserts before caret the output of an external command. |
Esc x | Executes an XXE command by specifying its name and its parameter. Useful for commands which don't have a key binding. |
Esc m | Starts recording a macro-command, if a macro-command is not already being recorded. Otherwise, stops recording the macro. |
Esc M (means type Esc then type Shift-m) |
Cancels the recording of a macro-command. |
Esc p | Replays the recorded macro-command. |
Esc s | Displays a simple ``Find Text'' dialog box which is especially useful when recording macro-commands. |
) , ] or } | Highlights matching (, [ or {. Beeps if matching character is not found. |
Esc C (means type Esc then type Shift-c) |
Inserts before caret a character by specifying its entity name (example: nbsp). |
Esc / | Collapses nearest collapsible view if it is expanded and expands nearest collapsible view if it is collapsed. |
Esc + | Expands nearest collapsible view and then, recursively expands all its collapsible descendant views. |
Esc - | Collapses nearest collapsible view and then, recursively collapses all its collapsible descendant views. |
Esc 1 | Is equivalent to Esc - followed by Esc /. Very useful just after you open a large document to see its outline. |
XXE_user_preferences_dir is: