Skip to content

Commit

Permalink
Remove extra spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Oct 24, 2024
1 parent 5051743 commit 94b34fa
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CotEditor/Resources/cot
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ class ScriptableApplication(object):
Args:
script (str): OSA command
is_async (bool): If need to wait for finish.
is_async (bool): If need to wait for finish.
Returns:
result (str): Return value of the script.
"""
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ extension MultiCursorEditing {

let rangeToVisible: NSRange = switch affinity {
case .downstream: ranges.first!
case .upstream: ranges.last!
case .upstream: ranges.last!
@unknown default: fatalError()
}
self.scrollRangeToVisible(rangeToVisible)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ struct LineRangeTests {

let string = "foo\n\rbar\n\r"

#expect(string.lineContentsRange(for: string.startIndex..<string.endIndex) ==
#expect(string.lineContentsRange(for: string.startIndex..<string.endIndex) ==
string.startIndex..<string.index(before: string.endIndex))

#expect(string.lineRange(at: string.index(after: string.startIndex)) ==
Expand Down

0 comments on commit 94b34fa

Please sign in to comment.