ICB // Utilizing NSAttributedString.length.

This commit is contained in:
ShikiSuen 2022-09-23 19:31:45 +08:00
parent 0ec0542c66
commit a063b8e36e
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)
)
}