Skip to content

Commit

Permalink
Update TokenTextEditor preview
Browse files Browse the repository at this point in the history
  • Loading branch information
1024jp committed Oct 21, 2024
1 parent 5d7179c commit 2b5fc65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion CotEditor/Sources/Views/SwiftUI/TokenTextEditor.swift
Original file line number Diff line number Diff line change
Expand Up @@ -237,7 +237,7 @@ private extension NSColor {
// MARK: - Preview

#Preview {
@Previewable @State var text: String? = "abc<<<CURSOR>>>defg"
@Previewable @State var text: String? = "abc<<<CURSOR>>><<<CURSOR>>>defg\n<<<SELECTION>>>"

return TokenTextEditor(text: $text, tokenizer: Snippet.Variable.tokenizer)
}

0 comments on commit 2b5fc65

Please sign in to comment.