Many commands in Amaya act on the current selection. You can make a selection using the keyboard or the mouse, as described below.
No matter how you make the current selection, Amaya displays the type of the first selected element at the bottom of the window, followed by the types of the enclosing elements in the structure. This may be helpful when the document structure is complex.
For example, selecting a word in this sentence means that the status bar reads
text \ p \ body \ html \ Document
meaning that the thing selected is some text within a p
element (which is within the body etc)
Selecting this structure element (for example click on the word structure, then press esc/f2) gives
strong \ p \ body \ html \ Document
Shift
key.To select structure elements using the keyboard:
Esc
key on Unix/Mac or the F2
key on Windows to select the parent element in the document
structure. Press the key several times to select containers (and
everything in them) up the structure towards the root. Control+-
(minus key) to select a child element.
Control+k
to select the next element at the same
level, or at the level of the parent element if there is no next or
previous child of the current level. Control-j
to select the previous element at the
same level, or at the level of the parent element if there is no
previous child of the current level.Left
, Right
, Up
, and
Down
). If there is no visible selection in the document
window, Amaya generates a new selection at the top left corner of the
window.Shift
key while pressing the four arrow keys
(Shift-Left
, Shift-Right
,
Shift-Up
, and Shift-Down
).Home
key.End
Key.Alt-Enter
. If the selection is within a link,
Alt-Enter
will activate the link instead of selecting the
current word.Control-Left
.Control-Right
.Shift-Control-Left
.Shift-Control-Right
.Control-Up
.Control-Down
.Control-Home
.Control-End
.
You can also select elements using the Structure view or select images.