File tree Expand file tree Collapse file tree 1 file changed +12
-12
lines changed
Sources/DiffableTextKit/Models Expand file tree Collapse file tree 1 file changed +12
-12
lines changed Original file line number Diff line number Diff line change 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
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- ///
5050public struct Snapshot : BidirectionalCollection , CustomStringConvertible , Equatable ,
5151ExpressibleByArrayLiteral , ExpressibleByStringLiteral , RangeReplaceableCollection {
5252
You can’t perform that action at this time.
0 commit comments