Skip to content

Commit d72049e

Browse files
committed
Cleanup.
1 parent e871ad0 commit d72049e

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

Sources/DiffableTextKit/Models/Snapshot.swift

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,18 @@
1818
/// |x|o|o|x|x|o|o|o|x|x|o|o|o|x|o|x|x|x|x|~
1919
/// ```
2020
///
21+
/// **Selection**
22+
///
23+
/// Selection is done by differentiation, but it can also be done manually. It
24+
/// may be appropriate on snapshots containing only formatting characters. A pattern
25+
/// text style can manually select its first placeholder character, for example.
26+
///
27+
/// ```
28+
/// ↓ == selection
29+
/// |+|#|#|_|(|#|#|#|)|_|#|#|#|-|#|#|-|#|#|~
30+
/// |x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|~
31+
/// ```
32+
///
2133
/// **Attributes & Characters**
2234
///
2335
/// The number of attributes must equal the number of joint characters in the
@@ -35,18 +47,6 @@
3547
/// |➖| + |➖| + |➖| + |➖| -> |➖|➖|➖|➖|~ (BAD)
3648
/// ```
3749
///
38-
/// **Selection**
39-
///
40-
/// Selection is done by differentiation, but it can also be done manually. It
41-
/// can be appropriate on snapshots containing only formatting characters. A pattern
42-
/// text style may manually select its first placeholder character, for example.
43-
///
44-
/// ```
45-
/// ↓ == selection
46-
/// |+|#|#|_|(|#|#|#|)|_|#|#|#|-|#|#|-|#|#|~
47-
/// |x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|x|~
48-
/// ```
49-
///
5050
public struct Snapshot: BidirectionalCollection, CustomStringConvertible, Equatable,
5151
ExpressibleByArrayLiteral, ExpressibleByStringLiteral, RangeReplaceableCollection {
5252

0 commit comments

Comments
 (0)