XMLmind XML Editor supports text selection as well as node selection.
There is little to say about text selection because it works as expected in any text editor or word processor. For example, Shift-button1 extends the text selection to the location clicked upon, Shift-Down_Arrow extends the selection to the next line, Ctrl+Shift-Left_Arrow extends the selection to the next word, etc.
You have already learned in the
previous lessons that moving the caret into a text node implicitly selects
the element containing this text node. You have also learned that clicking
in the node path bar on an element name (e.g. "section
") or a
node name (e.g. "#text
") explicitly selects the corresponding
node. When a node is explicitly selected, a red box is drawn around it. When
an element is implicitly selected, there is no visual clue that something is
selected.
However, there are other ways to select nodes, either by using the keyboard or by using the mouse. If you want to be more productive with XMLmind XML Editor, you need to learn some of these other methods.
Mac users
- Use the Cmd key instead of the Ctrl key, except for Ctrl-Tab (insert tab character) and
Ctrl-Space
(insert non-breaking space character).- Use Ctrl-button1 to emulate mouse button3.
- Use Alt-button1 to emulate mouse button2.
Using the keyboard | Using the mouse |
---|---|
|
|
Some of the commands of XMLmind XML Editor (e.g. Paste, Replace, Convert) can be applied to a node range. What we call a node range here is one or more consecutive sibling nodes. A node range may comprise different types of nodes: element, text node, comment, processing-instruction. What counts is that all the nodes have the same parent element and are consecutive.
Using the keyboard | Using the mouse |
---|---|
|
|
Using the keyboard | Using the mouse |
---|---|
Esc Esc (means: press Esc then press Esc again). |
Click inside any text node to cancel the explicit selection. |