Skip to content

Commit 6bc1498

Browse files
committed
Cleanup: marks.
1 parent 9dbf533 commit 6bc1498

File tree

4 files changed

+19
-11
lines changed

4 files changed

+19
-11
lines changed

Sources/DiffableTextKit/DiffableTextStyle.swift

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,14 +34,18 @@ public protocol DiffableTextStyle: Equatable {
3434
@inlinable func locale(_ locale: Locale) -> Self
3535

3636
//=------------------------------------------------------------------------=
37-
// MARK: Upstream
37+
// MARK: Upstream | Inactive
3838
//=------------------------------------------------------------------------=
3939

40-
/// Returns a formatted text.
40+
/// Returns formatted text.
4141
///
4242
/// This method is called in response to changes upstream while view is active.
4343
///
4444
@inlinable func format(_ value: Value) -> String
45+
46+
//=------------------------------------------------------------------------=
47+
// MARK: Upstream | Active
48+
//=------------------------------------------------------------------------=
4549

4650
/// Returns a value and a snapshot.
4751
///
@@ -50,7 +54,7 @@ public protocol DiffableTextStyle: Equatable {
5054
@inlinable func interpret(_ value: Value) -> Commit<Value>
5155

5256
//=------------------------------------------------------------------------=
53-
// MARK: Downstream
57+
// MARK: Downstream | Interactive
5458
//=------------------------------------------------------------------------=
5559

5660
/// Returns a value and a snapshot.

Sources/DiffableTextStylesXNumeric/Style.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ public struct _NumericTextStyle<Format: NumericTextFormat>: DiffableTextStyle {
7474
}
7575

7676
//=----------------------------------------------------------------------------=
77-
// MARK: + Upstream
77+
// MARK: + Upstream | Inactive
7878
//=----------------------------------------------------------------------------=
7979

8080
extension NumericTextStyle {
@@ -89,7 +89,7 @@ extension NumericTextStyle {
8989
}
9090

9191
//=----------------------------------------------------------------------------=
92-
// MARK: + Upstream
92+
// MARK: + Upstream | Active
9393
//=----------------------------------------------------------------------------=
9494

9595
extension NumericTextStyle {
@@ -128,7 +128,7 @@ extension NumericTextStyle {
128128
}
129129

130130
//=----------------------------------------------------------------------------=
131-
// MARK: + Downstream
131+
// MARK: + Downstream | Interactive
132132
//=----------------------------------------------------------------------------=
133133

134134
extension NumericTextStyle {

Sources/DiffableTextStylesXPattern/Style.swift

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ Value: RangeReplaceableCollection, Value: Equatable, Value.Element == Character
5555
}
5656

5757
//=----------------------------------------------------------------------------=
58-
// MARK: + Upstream
58+
// MARK: + Upstream | Inactive
5959
//=----------------------------------------------------------------------------=
6060

6161
extension PatternTextStyle {
@@ -84,7 +84,7 @@ extension PatternTextStyle {
8484
}
8585

8686
//=----------------------------------------------------------------------------=
87-
// MARK: + Upstream
87+
// MARK: + Upstream | Active
8888
//=----------------------------------------------------------------------------=
8989

9090
extension PatternTextStyle {
@@ -112,7 +112,7 @@ extension PatternTextStyle {
112112
}
113113

114114
//=----------------------------------------------------------------------------=
115-
// MARK: + Downstream
115+
// MARK: + Downstream | Interactive
116116
//=----------------------------------------------------------------------------=
117117

118118
extension PatternTextStyle {

Sources/DiffableTextStylesXWrapper/Wrapper.swift

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,21 +41,25 @@ extension WrapperTextStyle {
4141
}
4242

4343
//=------------------------------------------------------------------------=
44-
// MARK: Upstream
44+
// MARK: Upstream | Inactive
4545
//=------------------------------------------------------------------------=
4646

4747
@inlinable @inline(__always)
4848
public func format(_ value: Style.Value) -> String {
4949
style.format(value)
5050
}
5151

52+
//=------------------------------------------------------------------------=
53+
// MARK: Upstream | Active
54+
//=------------------------------------------------------------------------=
55+
5256
@inlinable @inline(__always)
5357
public func interpret(_ value: Style.Value) -> Commit<Style.Value> {
5458
style.interpret(value)
5559
}
5660

5761
//=------------------------------------------------------------------------=
58-
// MARK: Downstream
62+
// MARK: Downstream | Interactive
5963
//=------------------------------------------------------------------------=
6064

6165
@inlinable @inline(__always)

0 commit comments

Comments
 (0)