We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bb6aed3 commit 090a0e0Copy full SHA for 090a0e0
1 file changed
CodeEdit/Features/StatusBar/Views/StatusBarItems/StatusBarCursorPositionLabel.swift
@@ -132,7 +132,7 @@ struct StatusBarCursorPositionLabel: View {
132
// When there's a single cursor, display the line and column.
133
if cursorPositions[0].start.line <= 0 || cursorPositions[0].start.column <= 0 {
134
if cursorPositions[0].range != .notFound && cursorPositions[0].range.location > 0 {
135
- return "Char: \(cursorPositions[0].range.location) Len: 0"
+ return "Char: \(cursorPositions[0].range.location) Len: \(cursorPositions[0].range.length)"
136
}
137
return "Line: 1 Col: 1"
138
0 commit comments