ICB // Utilizing NSAttributedString.length.
This commit is contained in:
parent
0ec0542c66
commit
a063b8e36e
|
@ -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)
|
||||
)
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue