File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
DiffableTextStylesXNumeric Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ extension Number {
145145 //=--------------------------------------=
146146 // MARK: Integer
147147 //=--------------------------------------=
148- self . integer. suffix ( maxLength: min ( max. integer, max. value) )
148+ self . integer. suffix ( maxLength: min ( max. integer, max. value) )
149149 self . integer. trimZerosPrefix ( )
150150 //=--------------------------------------=
151151 // MARK: Fraction
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ extension NumericTextStyle {
1919 // MARK: Characters
2020 //=------------------------------------------------------------------------=
2121
22- /// Assumes that characters contains at least one content character.
22+ /// Assumes characters contain at least one content character.
2323 @inlinable func snapshot( _ characters: String ) -> Snapshot {
2424 var snapshot = characters. reduce ( into: Snapshot ( ) ) { snapshot, character in
2525 let attribute : Attribute
Original file line number Diff line number Diff line change @@ -314,9 +314,9 @@ public extension View {
314314 // MARK: Transformations
315315 //=------------------------------------------------------------------------=
316316
317- @inlinable func onSetup( of view: DiffableTextFieldID ,
317+ @inlinable func onSetup( of view: DiffableTextFieldID ,
318318 _ action: @escaping ( ProxyTextField ) -> Void ) -> some View {
319- environment ( \. diffableTextField_onSetup, action)
319+ environment ( \. diffableTextField_onSetup, action)
320320 }
321321
322322 @inlinable func onUpdate( of view: DiffableTextFieldID ,
Original file line number Diff line number Diff line change @@ -50,7 +50,7 @@ public final class ProxyTextField: BasicTextField.View {
5050 // MARK: Actions
5151 //=------------------------------------------------------------------------=
5252
53- /// Asks this object to relinquish its status as first responder in its window.
53+ /// Asks the view to relinquish its status as first responder in its window.
5454 ///
5555 /// SwiftUI.FocusState is the preferred focusing mechanism in most cases.
5656 ///
You can’t perform that action at this time.
0 commit comments