ICB // Utilizing NSAttributedString.length.
This commit is contained in:
parent
35b3e3df1a
commit
d8fb9aee1d
|
@ -75,7 +75,7 @@ public class ctlPopupCompositionBuffer: NSWindowController {
|
||||||
|
|
||||||
if isTypingDirectionVertical {
|
if isTypingDirectionVertical {
|
||||||
attrString.setAttributes(
|
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