Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit f5fcb89

Browse files
committed
Fix some indenting issues
1 parent 8a2c770 commit f5fcb89

File tree

3 files changed

+26
-27
lines changed

3 files changed

+26
-27
lines changed

‎docs/other/markervalue.md‎

Lines changed: 20 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -21,34 +21,33 @@ For information on the usage of markers see "Using markers" in After Effects Hel
2121
#### Examples
2222

2323
- To set a **layer** marker that says "Fade Up" at the 2 second mark:
24+
```javascript
25+
var myMarker = new MarkerValue("FadeUp");
26+
myLayer.property("Marker").setValueAtTime(2, myMarker);
27+
// or
28+
myLayer.marker.setValueAtTime(2, myMarker);
29+
```
2430

25-
> ```javascript
26-
> var myMarker = new MarkerValue("FadeUp");
27-
> myLayer.property("Marker").setValueAtTime(2, myMarker);
28-
> // or
29-
> myLayer.marker.setValueAtTime(2, myMarker);
30-
> ```
3131
- To set a **comp** marker that says "Fade Up" at the 2 second mark:
32-
33-
```javascript
34-
var myMarker = new MarkerValue("FadeUp");
35-
comp.markerProperty.setValueAtTime(2, myMarker);
36-
```
32+
```javascript
33+
var myMarker = new MarkerValue("FadeUp");
34+
comp.markerProperty.setValueAtTime(2, myMarker);
35+
```
3736

3837
- To get comment values from a particular marker:
39-
```javascript
40-
var layer = app.project.item(1).layer(1);
41-
var markerProperty = layer.marker;
38+
```javascript
39+
var layer = app.project.item(1).layer(1);
40+
var markerProperty = layer.marker;
4241
43-
var commentOfFirstMarker = markerProperty.keyValue(1).comment;
42+
var commentOfFirstMarker = markerProperty.keyValue(1).comment;
4443
45-
// or
46-
var commentOfMarkerAtTime4 = markerProperty.valueAtTime(4.0, true).comment;
44+
// or
45+
var commentOfMarkerAtTime4 = markerProperty.valueAtTime(4.0, true).comment;
4746
48-
// or
49-
var markerValueAtTimeClosestToTime4 = markerProperty.keyValue(markerProperty.nearestKeyIndex(4.0));
50-
var commentOfMarkerClosestToTime4 = markerValueAtTimeClosestToTime4.comment;
51-
```
47+
// or
48+
var markerValueAtTimeClosestToTime4 = markerProperty.keyValue(markerProperty.nearestKeyIndex(4.0));
49+
var commentOfMarkerClosestToTime4 = markerValueAtTimeClosestToTime4.comment;
50+
```
5251

5352
---
5453

‎docs/text/characterrange.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -227,8 +227,8 @@ Checks will be made that both [CharacterRange object](#characterrange-object) in
227227

228228
The internal steps of the operation are:
229229

230-
> - Delete the text from the target instance.
231-
> - Paste the text from the source instance.
230+
- Delete the text from the target instance.
231+
- Paste the text from the source instance.
232232

233233
As the span of the [CharacterRange object](#characterrange-object) is not adjusted by this call, when the source [CharacterRange object](#characterrange-object) instance has a shorter span than the target [CharacterRange object](#characterrange-object) instance, the target instance may become invalid.
234234

‎docs/text/fontsobject.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ By default this happens automatically—this property will disable it from happe
171171

172172
Boolean; read/write. One of:
173173

174-
> - `false` is the default—sync from Adobe Fonts may be attempted.
175-
> - `true` means that no sync or install will be attempted.
174+
- `false` is the default—sync from Adobe Fonts may be attempted.
175+
- `true` means that no sync or install will be attempted.
176176

177177
---
178178

@@ -270,8 +270,8 @@ alert(str);
270270

271271
Array of generic objects;
272272

273-
> - Key `chars` will be set to number of characters the in the range.
274-
> - Key `ctScript` will be set to the `CTScript` which applies to the characters in the range.
273+
- Key `chars` will be set to number of characters the in the range.
274+
- Key `ctScript` will be set to the `CTScript` which applies to the characters in the range.
275275

276276
277277

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /