Skip to content

Commit d63b4d1

Browse files
committed
Update shortcuts page
1 parent 7b3d39b commit d63b4d1

File tree

1 file changed

+34
-13
lines changed

1 file changed

+34
-13
lines changed

share/web/shortcuts.html

+34-13
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,21 @@
11
<!DOCTYPE html>
22
<html lang="en">
33
<head>
4-
<meta charset="utf-8"></meta>
5-
<meta name="viewport" content="width=device-width"></meta>
4+
<meta charset="utf-8">
5+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
6+
<link rel="icon" sizes="any" href="https://advene.org/img/favicon.png" />
7+
<link rel="stylesheet" href="https://olivieraubert.net/main.css" type="text/css">
68
<title>Advene Shortcuts</title>
79
</head>
810

911
<body>
10-
<pre>
12+
<script src="https://cdn.jsdelivr.net/npm/marked/marked.min.js"></script>
13+
<pre id="content">
1114
Advene shortcuts
1215
================
1316

1417
This wiki documents the shortcuts available in the most recent version
15-
of Advene (3.3).
18+
of Advene (3.15).
1619

1720
Generic player shortcuts
1821
------------------------
@@ -96,15 +99,14 @@
9699
- `c` : center the timeline on the current player position
97100
- draw a rectangle on the background: if the area covers at least one
98101
annotation, select covered annotations. Else, propose to either
99-
create an annotation or to zoom on the selected area.
100-
101-
- control-Return: create an annotation using the current player time,
102-
in the annotation type/line where the cursor is
102+
create an annotation or to zoom on the selected area.
103+
- Control-+/- : increase/decrease zoom level
104+
- Control-1 to Control-9 : set zoom level to from 100% (Control-1)
105+
to 2% (Control-9).
106+
- Control-Return : create an annotation at current player position (its type depends on the cursor position).
103107

104108
### Annotation widget
105109

106-
These apply when the cursor is over an annotation widget:
107-
108110
- simple click: player the annotation and lock the inspector on this
109111
annotation
110112
- `e` or double-click : edit the annotation
@@ -121,10 +123,16 @@
121123
- control+scroll : update the annotation begin or end (depending on
122124
the cursor position) time. Holding Shift uses a larger increment
123125
- control+t : split the annotation at the current player position
124-
(if the position is in the annotations bounds)
126+
(if the position is in the annotation's bounds)
125127
- `Delete` or `Backspace` : delete the annotation
126128
- Drag-and-drop of an annotation on another one: popup a menu to
127129
propose to create a relation, merge annotations or align bounds.
130+
- `1` to `9`: if the *Edit/Preferences/Text content/Quick fill*
131+
option is active, set the content of the annotation to the nth
132+
predefined keyword for the given type. If the annotation content
133+
type is *Keyword list*, then multiple values can be entered and
134+
`1` to `9` **toggle** the corresponding nth values from the
135+
predefined list.
128136

129137
### Quick edit mode
130138

@@ -145,6 +153,10 @@
145153
when validating
146154
- `Space` : restrict playing to annotations of the given annotation-type
147155
(toggle)
156+
- `1` to `9`: if the *Edit/Preferences/Text content/Quick fill*
157+
option is active, create a new annotation with the current
158+
position as begin time, and set its content to the nth predefined
159+
keyword for the type.
148160

149161
Active bookmarks
150162
----------------
@@ -160,6 +172,7 @@
160172

161173
- `Control-Return` : insert a timestamp mark (if the movie is playing)
162174
- `Control-Shift-Return` : pause and insert a timestamp mark
175+
- `Escape`: play/pause + seek -2 s
163176
- `Control-PageDown/PageUp` : go to next/previous mark
164177
- Control-Scroll on a mark: update the mark timestamp. If the
165178
play-on-scroll option is set, the player will be set to the new
@@ -173,9 +186,13 @@
173186
Table view
174187
----------
175188

176-
- `Return` edits the content of the annotation
189+
- `Return` edits the content of the annotation in place
190+
- `Control-Return` opens the edit form for the annotation
177191
- `Control-<`/`Control->` modifies begin/end time
178-
- `Space` or `Control-Return` plays the selected annotation
192+
- `Space` plays the annotation
193+
- `1` to `9`: if the *Edit/Preferences/Text content/Quick fill*
194+
option is active, set the content of the annotation to the nth
195+
predefined keyword for the given type.
179196

180197
Element Edition popup
181198
---------------------
@@ -217,5 +234,9 @@
217234
- Control-h: display docstring for element before cursor
218235
- Control-H: display source for element before cursor
219236
</pre>
237+
<script>
238+
const element = document.getElementById('content')
239+
element.innerHTML = marked.parse(element.innerText)
240+
</script>
220241
</body>
221242
</html>

0 commit comments

Comments
 (0)