ICB // Utilizing NSAttributedString.length.

This commit is contained in:
ShikiSuen 2022-09-23 19:31:45 +08:00
parent 35b3e3df1a
commit d8fb9aee1d
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ public class ctlPopupCompositionBuffer: NSWindowController {
if isTypingDirectionVertical {
attrString.setAttributes(
verticalAttributes, range: NSRange(location: 0, length: attrString.string.utf16.count)
verticalAttributes, range: NSRange(location: 0, length: attrString.length)
)
}